summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_thread.py
Commit message (Collapse)AuthorAgeFilesLines
* Increase the small thread stack size to get the testAndrew MacIntyre2006-06-131-2/+2
| | | | | to pass reliably on the one buildbot that insists on more than 32kB of thread stack.
* Whitespace normalization.Tim Peters2006-06-131-1/+1
|
* fix exception usageAndrew MacIntyre2006-06-131-1/+1
|
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-0/+43
| | | | | | | | | | Heavily revised, comprising revisions: 46640 - original trunk revision (backed out in r46655) 46647 - markup fix (backed out in r46655) 46692:46918 merged from branch aimacintyre-sf1454481 branch tested on buildbots (Windows buildbots had problems not related to these changes).
* Revert revisions:Tim Peters2006-06-041-35/+0
| | | | | | | | | | | | | | | | 46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch.
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-041-0/+35
|
* 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