use range instead of xrange, list is only 10 elements and range works in python3
This commit is contained in:
parent
ee4b47aedc
commit
72bae90e06
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class TestFileListSorting(trial.unittest.TestCase):
|
|||
self.assertNotEqual(expected, received)
|
||||
|
||||
def _get_fake_lbry_files(self):
|
||||
return [self._get_fake_lbry_file() for _ in xrange(10)]
|
||||
return [self._get_fake_lbry_file() for _ in range(10)]
|
||||
|
||||
def _get_fake_lbry_file(self):
|
||||
lbry_file = mock.Mock(spec=ManagedEncryptedFileDownloader)
|
||||
|
|
Loading…
Reference in a new issue