Serhiy Storchaka
d351827b0b
Issue #20556 : Used specific assert methods in threading tests.
2016-03-14 10:28:59 +02:00
Ezio Melotti
b0f5adc3f4
use assert[Not]IsInstance where appropriate
2010-01-24 16:58:36 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Brett Cannon
3d0b9f095a
dummy_thread.acquire() would return None if no waitflag argument was given. It
...
should have returned True.
Fixes issue #3339 . Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
2008-07-13 01:15:07 +00:00
Georg Brandl
a6168f9e0a
Queue renaming reversal part 3: move module into place and
...
change imports and other references. Closes #2925 .
2008-05-25 07:20:14 +00:00
Alexandre Vassalotti
30ece44f2e
Added stub for the Queue module to be renamed in 3.0.
...
Use the 3.0 module name to avoid spurious warnings.
2008-05-11 19:39:48 +00:00
Tim Peters
f545baa0cc
Whitespace normalization.
2003-06-15 23:26:30 +00:00
Brett Cannon
91012fe9b5
Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly.
2003-06-13 23:56:32 +00:00
Brett Cannon
4e64d78bbb
dummy_thread modified to have interrupt_main and to behave appropriately when
...
called.
Added announcement in Misc/NEWS for thread.interrupt_main and mention of
dummy_thread's change.
2003-06-13 23:44:35 +00:00
Walter Dörwald
21d3a32b99
Combine the functionality of test_support.run_unittest()
...
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807 .
2003-05-01 17:45:56 +00:00
Brett Cannon
13da5fa999
Make time.sleep calls go to 0 for common testing.
2003-04-30 03:03:37 +00:00
Tim Peters
f2715e0764
Whitespace normalization.
2003-02-19 02:35:07 +00:00
Guido van Rossum
ad50ca91a9
Brett Cannon's dummy_thread and dummy_threading modules (SF patch
...
622537), with some nitpicking editorial changes.
2002-12-30 22:30:22 +00:00