From a234ad6b1260bcdf8c8ffef072b202322ee0115e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 30 Jul 2015 03:39:04 -0700 Subject: [PATCH] Fix all the tests in python 3 --- tests/unit/test_cassettes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)