Python 3 compat
This commit is contained in:
parent
c8b1202880
commit
64b1349993
2 changed files with 7 additions and 3 deletions
|
|
@ -102,7 +102,7 @@ class TwythonAPITestCase(unittest.TestCase):
|
|||
counter = 0
|
||||
while counter < 2:
|
||||
counter += 1
|
||||
result = search.next()
|
||||
result = next(search)
|
||||
new_id_str = int(result['id_str'])
|
||||
if counter == 1:
|
||||
prev_id_str = new_id_str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue