8000 Stackless issue #139: update a coroutine test case · akruis/cpython@0ee1366 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ee1366

Browse files
Anselm KruisAnselm Kruis
authored andcommitted
Stackless issue python#139: update a coroutine test case
Add the new attribute "cr_origin" to the copy-test.
1 parent b3a7011 commit 0ee1366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Stackless/unittests/test_pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ def test_coroutine(self):
800800
async def c():
801801
return 1
802802
obj = c()
803-
c = self._test(obj, 'cr_running', 'cr_code', '__name__', '__qualname__')
803+
c = self._test(obj, 'cr_running', 'cr_code', '__name__', '__qualname__', 'cr_origin')
804804
self.assertRaises(StopIteration, obj.send, None)
805805
self.assertRaises(StopIteration, c.send, None)
806806

0 commit comments

Comments
 (0)
0