Skip to content

Commit ae3b80b

Browse files
author
Anselm Kruis
committed
Stackless issue python#98: Skip the test case, if stackless is compiled without threads.
The test case needs threding. https://bitbucket.org/stackless-dev/stackless/issues/98 (grafted from 16c5769adf70810e23d480a51dddc60f34384251)
1 parent fdd70f2 commit ae3b80b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Stackless/unittests/test_defects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ def other_thread(self, pickler, c):
493493
else:
494494
self.killed = False
495495

496+
@unittest.skipUnless(withThreads, "requires thread support")
496497
def test_kill_during_cPickle_stack_switch(self):
497498
# this test kills the main/current tasklet of a other-thread,
498499
# which is fast-pickling a recursive structure. This leads to an

0 commit comments

Comments
 (0)