Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #7825: fix transient refleak in test_threadsignals. | Florent Xicluna | 2010-07-27 | 1 | -1/+2 |
| | |||||
* | Issue #7449, last part (11): fix many tests if thread support is disabled | Victor Stinner | 2010-04-27 | 1 | -2/+2 |
| | | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads | ||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -3/+3 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -3/+3 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -3/+3 |
| | | | | Patch by flox | ||||
* | fix incorrect auto-translation of TestSkipped -> unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 1 | -2/+2 |
| | |||||
* | remove test_support.TestSkipped and just use unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 1 | -2/+2 |
| | |||||
* | test_signal: Signal handling on the Tru64 buildbot | Tim Peters | 2006-08-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appears to be utterly insane. Plug some theoretical insecurities in the test script: - Verify that the SIGALRM handler was actually installed. - Don't call alarm() before the handler is installed. - Move everything that can fail inside the try/finally, so the test cleans up after itself more often. - Try sending all the expected signals in force_test_exit(), not just SIGALRM. Since that was fixed to actually send SIGALRM (instead of invisibly dying with an AttributeError), we've seen that sending SIGALRM alone does not stop this from hanging. - Move the "kill the child" business into the finally clause, so the child doesn't survive test failure to send SIGALRM to other tests later (there are also baffling SIGALRM-related failures in test_socket). - Cancel the alarm in the finally clause -- if the test dies early, we again don't want SIGALRM showing up to confuse a later test. Alas, this still relies on timing luck wrt the spawned script that sends the test signals, but it's hard to see how waiting for seconds can so often be so unlucky. test_threadedsignals: curiously, this test never fails on Tru64, but doesn't normally signal SIGALRM. Anyway, fixed an obvious (but probably inconsequential) logic error. | ||||
* | fix typos, mostly in comments | Fred Drake | 2005-10-28 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-08-07 | 1 | -1/+1 |
| | |||||
* | To ever run this test "you must import TestSkipped" from the right | Michael W. Hudson | 2004-08-04 | 1 | -6/+9 |
| | | | | | | | place! (can that please be it for silly mistakes in this file? :-) I know I started it, but...). Also, rearrangements to run repeatedly. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-04 | 1 | -8/+8 |
| | |||||
* | To raise TestSkipped, you must import TestSkipped. | Tim Peters | 2004-08-04 | 1 | -1/+1 |
| | |||||
* | add missing import! | Fred Drake | 2004-08-03 | 1 | -0/+1 |
| | |||||
* | Add the same guard as test_signal. | Michael W. Hudson | 2004-08-03 | 1 | -0/+3 |
| | |||||
* | Argh! This was meant to be part of patch #960406. | Michael W. Hudson | 2004-08-03 | 1 | -0/+77 |