History log of /external/python/cpython2/Lib/test/test_threadsignals.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d672229ca2f2114c01e65b28b5d366d2f661e534 28-Jul-2010 Florent Xicluna <florent.xicluna@gmail.com> Issue #7825: fix transient refleak in test_threadsignals.
/external/python/cpython2/Lib/test/test_threadsignals.py
6a10281d3359de890519c23d0318742018c843a3 28-Apr-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #7449, last part (11): fix many tests if thread support is disabled

* Use try/except ImportError or test_support.import_module() to import thread
and threading modules
* Add @unittest.skipUnless(threading, ...) to testcases using threads
/external/python/cpython2/Lib/test/test_threadsignals.py
dde5b94875460e704099593766f4a5bc3279483d 03-Feb-2010 Ezio Melotti <ezio.melotti@gmail.com> #7092: Silence more py3k warnings. Patch by Florent Xicluna.
/external/python/cpython2/Lib/test/test_threadsignals.py
ce8e33a095030e7af94f58f9da196b240bdf0476 08-Jan-2010 Senthil Kumaran <orsenthil@gmail.com> Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
/external/python/cpython2/Lib/test/test_threadsignals.py
3ddc435af6873c6304058d7bcbcb19ee4fba7781 08-Jan-2010 Senthil Kumaran <orsenthil@gmail.com> Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
/external/python/cpython2/Lib/test/test_threadsignals.py
bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1 26-Mar-2009 Benjamin Peterson <benjamin@python.org> fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
/external/python/cpython2/Lib/test/test_threadsignals.py
888a39b54c4f47ee25d53b157e2c50402627cd0b 26-Mar-2009 Benjamin Peterson <benjamin@python.org> remove test_support.TestSkipped and just use unittest.SkipTest
/external/python/cpython2/Lib/test/test_threadsignals.py
1742f3331fd5c6286e308db6681f9d6abcddb77c 12-Aug-2006 Tim Peters <tim.peters@gmail.com> test_signal: Signal handling on the Tru64 buildbot
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.
/external/python/cpython2/Lib/test/test_threadsignals.py
db390c1ad8e2c8049e1d0d3828a979c75d1621b9 28-Oct-2005 Fred Drake <fdrake@acm.org> fix typos, mostly in comments
/external/python/cpython2/Lib/test/test_threadsignals.py
d1b7827216f6b57b90fc6751e4b1c4d246e63631 07-Aug-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_threadsignals.py
574a25127a5e0d21483f3b7432798329b49fe112 04-Aug-2004 Michael W. Hudson <mwh@python.net> To ever run this test "you must import TestSkipped" from the right
place! (can that please be it for silly mistakes in this file? :-) I
know I started it, but...).

Also, rearrangements to run repeatedly.
/external/python/cpython2/Lib/test/test_threadsignals.py
6db15d7307b831766617f6a9700ecc4c75a16081 04-Aug-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_threadsignals.py
81676dc5209cd03af7dc0f59c6d7992e027af03e 04-Aug-2004 Tim Peters <tim.peters@gmail.com> To raise TestSkipped, you must import TestSkipped.
/external/python/cpython2/Lib/test/test_threadsignals.py
4818748b87b4457bb918f0632b4a5abeb7f31d0b 03-Aug-2004 Fred Drake <fdrake@acm.org> add missing import!
/external/python/cpython2/Lib/test/test_threadsignals.py
34fba3b445f16e17ce782b3642937112f3bc5868 03-Aug-2004 Michael W. Hudson <mwh@python.net> Add the same guard as test_signal.
/external/python/cpython2/Lib/test/test_threadsignals.py
43220ea26eaa2c840f04247c1339dc7eaf580a4f 03-Aug-2004 Michael W. Hudson <mwh@python.net> Argh! This was meant to be part of patch #960406.
/external/python/cpython2/Lib/test/test_threadsignals.py