Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) | Bar Harel | 2020-10-19 | 1 | -0/+11 |
| | |||||
* | bpo-40275: Adding threading_helper submodule in test.support (GH-20263) | Hai Shi | 2020-05-27 | 1 | -2/+3 |
| | |||||
* | bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) | Victor Stinner | 2019-12-11 | 1 | -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 Stinner | 2019-12-10 | 1 | -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 Stinner | 2017-09-14 | 1 | -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 Pitrou | 2017-09-07 | 1 | -6/+2 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.) | Raymond Hettinger | 2016-11-22 | 1 | -7/+13 |
| | |||||
* | Issue #23277: Remove unused support.run_unittest import. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -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 which | Serhiy Storchaka | 2014-01-16 | 1 | -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. | ||||
* | | merge | Raymond Hettinger | 2013-07-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #18432: Fix unintended API change in the sched module | Raymond Hettinger | 2013-07-14 | 1 | -1/+1 |
| | | |||||
* | | Update various test modules to use unittest.main() for test discovery | Brett Cannon | 2013-06-13 | 1 | -4/+1 |
|/ | | | | instead of manually listing tests for test.support.run_unittest(). | ||||
* | Issue #16843: Make concurrent tests for sched module deterministic. | Serhiy Storchaka | 2013-01-08 | 1 | -21/+85 |
| | |||||
* | Issue #16165: Fix sched.scheduler.run() method was block a scheduler for | Serhiy Storchaka | 2012-12-29 | 1 | -1/+36 |
| | | | | other threads. | ||||
* | Issue #13878: Fix random test_sched failures. | Charles-François Natali | 2012-02-16 | 1 | -13/+15 |
|\ | |||||
| * | Issue #13878: Fix random test_sched failures. | Charles-François Natali | 2012-02-16 | 1 | -8/+9 |
| | | |||||
* | | Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the ↵ | Giampaolo Rodola' | 2011-12-14 | 1 | -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-26 | 1 | -7/+8 |
| | | | | | | | | orderd list of upcoming events | ||||
* | | Fix 13245: | Giampaolo Rodola' | 2011-11-22 | 1 | -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 module | Giampaolo Rodolà | 2010-08-04 | 1 | -0/+80 |