Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit d524887

Browse files
author
Anselm Kruis
committed
Stackless issue #239: adapt a test case
Use stackless._stackless._test_outside instead of stackless.test_outside.
1 parent c4dcaf1 commit d524887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Stackless/unittests/test_miscell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ def other_thread():
17721772
t.insert()
17731773
ctx_holder1 = stackless.tasklet(id)
17741774
self.assertEqual(ctx_holder1.context_id, stackless.current.context_id)
1775-
stackless.test_outside()
1775+
stackless._stackless._test_outside()
17761776

17771777
tr = threading.Thread(target=other_thread, name="other thread")
17781778
tr.start()
@@ -1798,7 +1798,7 @@ def other_thread():
17981798
nonlocal ctx_holder2
17991799
t.bind_thread()
18001800
t.insert()
1801-
stackless.test_outside()
1801+
stackless._stackless._test_outside()
18021802
ctx_holder2 = stackless.tasklet(id)
18031803
self.assertEqual(ctx_holder2.context_id, stackless.current.context_id)
18041804

0 commit comments

Comments
 (0)