]> granicus.if.org Git - python/commit
Issue #7449, part 7: simplify threading detection in test_capi
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 27 Apr 2010 23:01:29 +0000 (23:01 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 27 Apr 2010 23:01:29 +0000 (23:01 +0000)
commitbe595d336c6e3cdd899e9c031e86bf6dab850c07
treeaf638d1e95d7488eea6543dd7fa1810de1d656de
parentfd8ea99275cd5fcc3dc97a1d629b873caecd93f4
Issue #7449, part 7: simplify threading detection in test_capi

 * Skip TestPendingCalls if threading module is missing
 * Test if threading module is present or not, instead of test the presence of
   _testcapi._test_thread_state
Lib/test/test_capi.py