Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26456: Force all child threads to terminate in TestForkInThread | Martin Panter | 2016-03-08 | 1 | -1/+6 |
| | |||||
* | Issue #19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-10 | 1 | -27/+23 |
| | |||||
* | sleep here | Benjamin Peterson | 2012-04-23 | 1 | -1/+1 |
| | |||||
* | remove uneeded line | Benjamin Peterson | 2012-04-02 | 1 | -1/+0 |
| | |||||
* | prevent writing to stderr from messing up the exception state (closes #14474) | Benjamin Peterson | 2012-04-02 | 1 | -0/+24 |
| | |||||
* | Issue #7449, last part (11): fix many tests if thread support is disabled | Victor Stinner | 2010-04-27 | 1 | -1/+1 |
| | | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads | ||||
* | #8178 Cleanup the threads after test_thread.TestForkInThread. | Florent Xicluna | 2010-03-20 | 1 | -6/+7 |
| | |||||
* | Fix test to be skipped on windows. | Gregory P. Smith | 2010-03-01 | 1 | -4/+2 |
| | |||||
* | Issue #7242: On Solaris 9 and earlier calling os.fork() from within a | Gregory P. Smith | 2010-03-01 | 1 | -1/+41 |
| | | | | | thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork. | ||||
* | Issue #7270: Add some dedicated unit tests for multi-thread synchronization | Antoine Pitrou | 2009-11-06 | 1 | -1/+6 |
| | | | | primitives such as Lock, RLock, Condition, Event and Semaphore. | ||||
* | Issue #7222: Make thread "reaping" more reliable so that reference | Antoine Pitrou | 2009-10-30 | 1 | -0/+27 |
| | | | | | | | leak-chasing test runs give sensible results. The previous method of reaping threads could return successfully while some Thread objects were still referenced. This also introduces a new private function: :func:hread._count(). | ||||
* | Issue #7194: test_thread could try to release an unacquired mutex (and fail). | Antoine Pitrou | 2009-10-23 | 1 | -1/+4 |
| | |||||
* | Speed test_thread up from 51.328s to 0.081s by reducing its sleep times. We | Jeffrey Yasskin | 2008-03-18 | 1 | -6/+10 |
| | | | | | still sleep at all to make it likely that all threads are active at the same time. | ||||
* | Move test_thread over to unittest. Commits GHOP 237. | Brett Cannon | 2008-03-13 | 1 | -147/+151 |
| | | | | Thanks Benjamin Peterson for the patch. | ||||
* | Increase the small thread stack size to get the test | Andrew MacIntyre | 2006-06-13 | 1 | -2/+2 |
| | | | | | to pass reliably on the one buildbot that insists on more than 32kB of thread stack. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | fix exception usage | Andrew MacIntyre | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-13 | 1 | -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 Peters | 2006-06-04 | 1 | -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 MacIntyre | 2006-06-04 | 1 | -0/+35 |
| | |||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -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 thread | Tim Peters | 2002-02-16 | 1 | -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: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 |
| | | | | 'verify' iff it's used by a test module... | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -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 Drake | 2000-10-23 | 1 | -70/+70 |
| | |||||
* | Use random instead of whrandom. | Guido van Rossum | 1998-05-20 | 1 | -8/+8 |
| | |||||
* | Nit: round delays to 0.1 second. | Guido van Rossum | 1997-07-18 | 1 | -2/+2 |
| | |||||
* | Use the new regrtest harness | Barry Warsaw | 1997-01-13 | 1 | -4/+1 |
| | |||||
* | (test_thread.py): modifications to quiet it up when not running as a script. | Barry Warsaw | 1996-12-16 | 1 | -6/+16 |
| | | | | (testall.py): added test_thread to the list of regression tests. | ||||
* | added barrier test (by Tim Peters) | Guido van Rossum | 1994-05-23 | 1 | -2/+67 |
| | |||||
* | Module to test threads | Guido van Rossum | 1994-04-14 | 1 | -0/+41 |