Commit Graph

13 Commits

Author SHA1 Message Date
Serhiy Storchaka 8f8ec92de8 Issue #19936: Added executable bits or shebang lines to Python scripts which
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.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka b992a0e102 Issue #19936: Added executable bits or shebang lines to Python scripts which
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.
2014-01-16 17:15:49 +02:00
Raymond Hettinger 468bcaffd6 merge 2013-07-13 22:48:49 -07:00
Raymond Hettinger 889b92d3aa Issue #18432: Fix unintended API change in the sched module 2013-07-13 22:42:09 -07:00
Brett Cannon 3e9a9ae09d Update various test modules to use unittest.main() for test discovery
instead of manually listing tests for test.support.run_unittest().
2013-06-12 21:25:59 -04:00
Serhiy Storchaka 369a7822d6 Issue #16843: Make concurrent tests for sched module deterministic. 2013-01-09 00:13:38 +02:00
Serhiy Storchaka f2b9cf4e61 Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
other threads.
2012-12-29 21:34:11 +02:00
Charles-François Natali 4a72ebe34b Issue #13878: Fix random test_sched failures. 2012-02-16 19:51:45 +01:00
Charles-François Natali f670ca5e70 Issue #13878: Fix random test_sched failures. 2012-02-16 19:49:48 +01:00
Giampaolo Rodola' 556ba04a8d Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications 2011-12-14 14:38:45 +01:00
Giampaolo Rodola' 6a5dcd4b2a sched.py: fix test_queue by making sure that queue property returns an orderd list of upcoming events 2011-11-26 12:17:42 +01:00
Giampaolo Rodola' be55d99b3d Fix 13245:
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.
2011-11-22 13:33:34 +01:00
Giampaolo Rodolà b5c23761d3 issue #8687: provides a test suite for sched.py module 2010-08-04 09:28:05 +00:00