1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

Fix all the tests in python 3

This commit is contained in:
Ivan Malison
2015-07-30 03:39:04 -07:00
parent 1d000ac652
commit a234ad6b12

View File

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