summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_thread.py
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* SF bug #516372: test_thread: unhandled exc. in threadTim Peters2002-02-161-3/+7
| | | | | | | | Fix exit races in test_thread.py and test_threaded_import.py. I suspect the bug is provokable only under Linux (where child threads seem to get lots of cycles before they get killed after the main thread exits), or on multi-processor machines running other OSes. Bugfix candidate.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-70/+70
|
* Use random instead of whrandom.Guido van Rossum1998-05-201-8/+8
|
* Nit: round delays to 0.1 second.Guido van Rossum1997-07-181-2/+2
|
* Use the new regrtest harnessBarry Warsaw1997-01-131-4/+1
|
* (test_thread.py): modifications to quiet it up when not running as a script.Barry Warsaw1996-12-161-6/+16
| | | | (testall.py): added test_thread to the list of regression tests.
* added barrier test (by Tim Peters)Guido van Rossum1994-05-231-2/+67
|
* Module to test threadsGuido van Rossum1994-04-141-0/+41