Python 3 compat

This commit is contained in:
Mike Helmick 2013-05-24 16:17:50 -04:00
parent c8b1202880
commit 64b1349993
2 changed files with 7 additions and 3 deletions

View file

@ -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