Skip to content

Commit

Permalink
Stackless issue python#98: Skip the test case, if stackless is compil…
Browse files Browse the repository at this point in the history
…ed without threads.

The test case needs threding.

https://bitbucket.org/stackless-dev/stackless/issues/98
(grafted from 16c5769adf70810e23d480a51dddc60f34384251)
  • Loading branch information
Anselm Kruis committed Nov 25, 2016
1 parent fdd70f2 commit ae3b80b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Stackless/unittests/test_defects.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ def other_thread(self, pickler, c):
else:
self.killed = False

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

0 comments on commit ae3b80b

Please sign in to comment.