summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sched.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40280: Detect missing threading on WASM platforms (GH-32352)Christian Heimes2022-04-071-0/+2
| | | Co-authored-by: Brett Cannon <brett@python.org>
* bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729)Bar Harel2020-10-191-0/+11
|
* bpo-40275: Adding threading_helper submodule in test.support (GH-20263)Hai Shi2020-05-271-2/+3
|
* bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566)Victor Stinner2019-12-111-1/+1
| | | | | | | | | | | | | | | Replace hardcoded timeout constants in tests with SHORT_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. SHORT_TIMEOUT is 30 seconds by default, but it can be longer depending on --timeout command line option. The change makes almost all timeouts longer, except test_reap_children() of test_support which is made 2x shorter: SHORT_TIMEOUT should be enough. If this test starts to fail, LONG_TIMEOUT should be used instead. Uniformize also "from test import support" import in some test files.
* bpo-38614: Use default join_thread() timeout in tests (GH-17559)Victor Stinner2019-12-101-2/+2
| | | | | Tests no longer pass a timeout value to join_thread() of test.support: use the default join_thread() timeout instead (SHORT_TIMEOUT constant of test.support).
* bpo-31234: Add support.join_thread() helper (#3587)Victor Stinner2017-09-141-4/+3
| | | | join_thread() joins a thread but raises an AssertionError if the thread is still alive after timeout seconds.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-6/+2
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.)Raymond Hettinger2016-11-221-7/+13
|
* Issue #23277: Remove unused support.run_unittest import.Serhiy Storchaka2016-04-241-1/+0
|
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
|\ | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | mergeRaymond Hettinger2013-07-141-1/+1
|\ \ | |/
| * Issue #18432: Fix unintended API change in the sched moduleRaymond Hettinger2013-07-141-1/+1
| |
* | Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-131-4/+1
|/ | | | instead of manually listing tests for test.support.run_unittest().
* Issue #16843: Make concurrent tests for sched module deterministic.Serhiy Storchaka2013-01-081-21/+85
|
* Issue #16165: Fix sched.scheduler.run() method was block a scheduler forSerhiy Storchaka2012-12-291-1/+36
| | | | other threads.
* Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-13/+15
|\
| * Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-8/+9
| |
* | Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the ↵Giampaolo Rodola'2011-12-141-0/+10
| | | | | | | | scheduler can be used in non-blocking applications
* | sched.py: fix test_queue by making sure that queue property returns an ↵Giampaolo Rodola'2011-11-261-7/+8
| | | | | | | | orderd list of upcoming events
* | Fix 13245:Giampaolo Rodola'2011-11-221-0/+12
|/ | | | | | | sched.scheduler class constructor's timefunc and delayfunct parameters are now optional. scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter. Patch contributed by Matt Mulsow.
* issue #8687: provides a test suite for sched.py moduleGiampaolo Rodolà2010-08-041-0/+80