mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-11 18:06:10 +00:00
Fix all the tests in python 3
This commit is contained in:
@@ -268,7 +268,7 @@ def test_use_as_decorator_on_coroutine():
|
|||||||
value = yield 2
|
value = yield 2
|
||||||
assert value == 2
|
assert value == 2
|
||||||
coroutine = test_function()
|
coroutine = test_function()
|
||||||
value = coroutine.next()
|
value = next(coroutine)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
value = coroutine.send(value)
|
value = coroutine.send(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user