From: Ivan Malison Date: Thu, 30 Jul 2015 10:39:04 +0000 (-0700) Subject: Fix all the tests in python 3 X-Git-Tag: v1.7.0~5 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a234ad6b1260bcdf8c8ffef072b202322ee0115e;p=vcrpy.git Fix all the tests in python 3 --- diff --git a/tests/unit/test_cassettes.py b/tests/unit/test_cassettes.py index 00916fb..59c5fb4 100644 --- a/tests/unit/test_cassettes.py +++ b/tests/unit/test_cassettes.py @@ -268,7 +268,7 @@ def test_use_as_decorator_on_coroutine(): value = yield 2 assert value == 2 coroutine = test_function() - value = coroutine.next() + value = next(coroutine) while True: try: value = coroutine.send(value)