summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dummy_thread.py
Commit message (Collapse)AuthorAgeFilesLines
* Followup to issue #11140 and r88682: also patch _dummy_thread.Antoine Pitrou2011-03-011-2/+2
| | | | Patch by Aymeric Augustin.
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-241-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-19/+19
|
* Merged revisions 64903 via svnmerge fromBrett Cannon2008-07-131-0/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64903 | brett.cannon | 2008-07-12 18:15:07 -0700 (Sat, 12 Jul 2008) | 6 lines 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. ........
* Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.Georg Brandl2008-05-251-3/+3
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-7/+7
|
* Rename Queue module to queue.Alexandre Vassalotti2008-05-111-3/+3
| | | | | | | | | | | | | Updated documentation to use new name. Merged revisions 63077 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines Added stub for the Queue module to be renamed in 3.0. Use the 3.0 module name to avoid spurious warnings. ........
* Merged revisions 55007-55179 via svnmerge fromGuido van Rossum2007-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines Use the new print syntax, at least. ........ r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line remove old cruftiness ........ r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line make this work with the new Python ........ r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line Get asdl code gen working with Python 2.3. Should continue to work with 3.0 ........ r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line Verify checkins to p3yk (sic) branch go to 3000 list. ........ r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line Fix this test so it runs again by importing warnings_test properly. ........ r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines So long xrange. range() now supports values that are outside -sys.maxint to sys.maxint. floats raise a TypeError. This has been sitting for a long time. It probably has some problems and needs cleanup. Objects/rangeobject.c now uses 4-space indents since it is almost completely new. ........ r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines Fix two tests that were previously depending on significant spaces at the end of a line (and before that on Python 2.x print behavior that has no exact equivalent in 3.0). ........
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-10/+10
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Whitespace normalization.Tim Peters2003-06-151-1/+1
|
* Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly.Brett Cannon2003-06-131-0/+5
|
* dummy_thread modified to have interrupt_main and to behave appropriately whenBrett Cannon2003-06-131-0/+8
| | | | | | | called. Added announcement in Misc/NEWS for thread.interrupt_main and mention of dummy_thread's change.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-5/+1
| | | | | | | | | | 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.
* Make time.sleep calls go to 0 for common testing.Brett Cannon2003-04-301-10/+15
|
* Whitespace normalization.Tim Peters2003-02-191-5/+5
|
* Brett Cannon's dummy_thread and dummy_threading modules (SF patchGuido van Rossum2002-12-301-0/+167
622537), with some nitpicking editorial changes.