Serhiy Storchaka
bedce3538c
[3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455)
...
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.
load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.
(cherry picked from commit 40348acc18
)
2021-09-19 22:36:03 +03:00
Hai Shi
e80697d687
bpo-40275: Adding threading_helper submodule in test.support (GH-20263)
2020-05-28 00:10:27 +02:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
90d0cfb222
bpo-35202: Remove unused imports in tests. (GH-10561)
2018-11-16 17:32:58 +02:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
Xavier de Gaye
f79606debd
Issue #26940 : Fix test_importlib that hangs on the Android armv7 qemu emulator.
2016-12-08 11:26:18 +01:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Berker Peksag
f7eaa0c63c
Issue #21755 : Skip {Frozen,Source}_DeadlockAvoidanceTests tests when
...
Python is built without threads.
2014-07-03 06:25:10 +03:00
Raymond Hettinger
62f4dad816
Issue 21137: Better repr for threading.Lock()
2014-05-25 18:22:35 -07:00
Eric Snow
3497c0bf95
Issue #21503 : Use test_both() consistently in test_importlib.
2014-05-16 11:40:40 -06:00
Brett Cannon
c516815353
Fix test to not consider mixin a standalone test
2013-10-18 16:55:15 -04:00
Brett Cannon
6a57dd8635
Issue #16803 : Have test_importlib.test_locks use frozen and source
...
code.
2013-10-18 15:12:21 -04:00
Antoine Pitrou
5b9eccb383
Issue #15794 : Relax a test case due to the deadlock detection's conservativeness.
2012-08-28 20:10:18 +02:00
Brett Cannon
45a5e3afe5
Issue #15168 : Move importlb.test to test.test_importlib.
...
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.
2012-07-20 14:48:53 -04:00