History log of /external/python/cpython2/Lib/test/test_signal.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2f78f0e1f9b65853b1e44fdc3c75ed5af933638f 18-Jan-2013 Benjamin Peterson <benjamin@python.org> support -> test_support
/external/python/cpython2/Lib/test/test_signal.py
08e153ae377066c31e7e70be3da24edf1778631e 18-Jan-2013 Benjamin Peterson <benjamin@python.org> check windows fd validity (closes #16992)
/external/python/cpython2/Lib/test/test_signal.py
4bb142b1b712d8e67c81687d396685fba55abf77 18-Dec-2012 Andrew Svetlov <andrew.svetlov@gmail.com> Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.
/external/python/cpython2/Lib/test/test_signal.py
2623a37852153363335956afab010cb0beb7e74e 21-Nov-2010 Ezio Melotti <ezio.melotti@gmail.com> Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line

#9424: Replace deprecated assert* methods in the Python test suite.
........
/external/python/cpython2/Lib/test/test_signal.py
886a1cd7dc43bbdba6e69a2fa44b9daa888eee08 17-Oct-2010 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 85586-85587,85596-85598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines

fix for netbsd.
........
r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines

applying netbsd-wizs-mod.patch from issue5510 -
fixes for netbsd (and dragonflybsd?)
........
r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines

Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
as (~0U) on NetBSD which was causing it to appear as -1 when used as
a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works
around the problem by substituting INT_MAX on systems where it appears
negative when used as an int.
........
r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines

skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
........
r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines

Avoid hanging the test on netbsd5.
........
/external/python/cpython2/Lib/test/test_signal.py
1390dd7c9b1f621e0c31c60547d0beb5d432fb06 01-Oct-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 85140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r85140 | brian.curtin | 2010-10-01 09:49:24 -0500 (Fri, 01 Oct 2010) | 4 lines

Fix #10003. Add SIGBREAK to the set of valid signals on Windows.

This fixes a regression noticed by bzr, introduced by issue #9324.
........
/external/python/cpython2/Lib/test/test_signal.py
8426333a88f0959a55b351813f5987238ffd0e17 06-Sep-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 84556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84556 | brian.curtin | 2010-09-06 11:04:10 -0500 (Mon, 06 Sep 2010) | 7 lines

Clean up the fix to #9324 with some of the suggestions raised on python-dev
in response to the original checkin.

Move the validation from the original loop into a switch statement,
and adjust a platform check in the tests.
........
/external/python/cpython2/Lib/test/test_signal.py
9d310d3581a226b36b217423c37cc735226bdc64 07-Aug-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 83771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83771 | brian.curtin | 2010-08-06 22:47:21 -0500 (Fri, 06 Aug 2010) | 3 lines

Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.
........
/external/python/cpython2/Lib/test/test_signal.py
27e19a21b14a5a9dfbe1b9567c6ec3a936b1551b 06-Aug-2010 Mark Dickinson <dickinsm@gmail.com> Merge of r83763 introduced 'support' into test_signal; should be 'test_support'
/external/python/cpython2/Lib/test/test_signal.py
24af0e965694b997e90c46bd754a394e1ac86b45 06-Aug-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 83763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines

Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.
........
/external/python/cpython2/Lib/test/test_signal.py
5b5134b8d1eee2a5e0fab860e205ef44e5f39acc 15-May-2010 Benjamin Peterson <benjamin@python.org> use TestCase skip method
/external/python/cpython2/Lib/test/test_signal.py
7622eba75789badaefed0cbd445883b7a3d7eea2 15-May-2010 Stefan Krah <stefan@bytereef.org> If the timeout is exceeded, count the tests as skipped instead of just
issuing a warning.
/external/python/cpython2/Lib/test/test_signal.py
e54ddf1ed2ec9f4166e51a392afeaa857a56d5c3 08-May-2010 Jean-Paul Calderone <exarkun@divmod.com> Skip signal handler re-installation if it is not necessary. Issue 8354.
/external/python/cpython2/Lib/test/test_signal.py
68b4e01c48a9217cff9828f408474f9b52f6584b 20-Apr-2010 Stefan Krah <stefan@bytereef.org> 1) The timeout in the itimer tests was too low for slow or heavily
loaded machines.

2) Even with the increased timeout, the OS does not guarantee that
a process will get a certain amount of virtual time in 60s, so
the failure is changed to a diagnostic.
/external/python/cpython2/Lib/test/test_signal.py
e0e8a87d7e58d1205cc727cc513cc21b045bb088 17-Apr-2010 R. David Murray <rdmurray@bitdance.com> Issue #3864: Skip three test_signal tests on freebsd6 due to platform bug.

Two itimer tests and an interprocess signal test fail on FreeBSD 6 if
any test that starts a thread runs before test_signal. Since FreeBSD7
does not show this behavior, the bug is most likely a platform bug,
so this patch just skips the failing tests on freebsd6.
/external/python/cpython2/Lib/test/test_signal.py
c579b35740573be48ba266b2965944d325174b57 09-Nov-2009 Mark Dickinson <dickinsm@gmail.com> Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
/external/python/cpython2/Lib/test/test_signal.py
4b841d9156208d672a3848abb2798555552862d7 31-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7042: Use a better mechanism for testing timers in test_signal.
/external/python/cpython2/Lib/test/test_signal.py
245d915e3ecba012b3d42d750460997e3e0a95d4 04-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7042: Fix test_signal failure on OS X 10.6 64-bit builds
(and also, with luck, on the x86 FreeBSD buildbot), by making sure
that some user time is used in test_itimer_virtual.
/external/python/cpython2/Lib/test/test_signal.py
5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e 01-Jul-2009 Benjamin Peterson <benjamin@python.org> convert usage of fail* to assert*
/external/python/cpython2/Lib/test/test_signal.py
c29863e3a6d3fe076eac4ef42c827ecc38ccc4b1 19-Jun-2009 Georg Brandl <georg@python.org> #6276: Remove usage of nested() in favor of new with statement with multiple managers.
/external/python/cpython2/Lib/test/test_signal.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_signal.py
ee76777846124bb5b7e08feb488d5bab949c76a5 07-Apr-2008 Jeffrey Yasskin <jyasskin@gmail.com> Add enough debugging information to diagnose failures where the
HandlerBException is ignored, and fix one such problem, where it was thrown
during the __del__ method of the previous Popen object.

We may want to find a better way of printing verbose information so it's not
spammy when the test passes.
/external/python/cpython2/Lib/test/test_signal.py
e71d8124c2ed15967ed92a16418107cf1a07cde0 04-Apr-2008 Jeffrey Yasskin <jyasskin@gmail.com> Oops again. EINTR is in errno, not signal.
/external/python/cpython2/Lib/test/test_signal.py
2b860db35c5346c216672f94031ecc800dbebf02 04-Apr-2008 Jeffrey Yasskin <jyasskin@gmail.com> Doh! os.read() raises an OSError, not an IOError when it's interrupted.

And fix some flakiness in test_itimer_prof, which could detect that the timer
had reached 0 before the signal arrived announcing that fact.
/external/python/cpython2/Lib/test/test_signal.py
ab561317203121ffda9841f84572ecdab68a84d6 02-Apr-2008 Jeffrey Yasskin <jyasskin@gmail.com> Try to make test_signal less flaky. I still see some flakiness in
test_itimer_prof.
/external/python/cpython2/Lib/test/test_signal.py
bb89e686e3217b43611854755359cb149c5e2cf6 25-Mar-2008 Neal Norwitz <nnorwitz@gmail.com> Try to get this test to be more stable:
* disable gc during the test run because we are spawning objects and there
was an exception when calling Popen.__del__
* Always set an alarm handler so the process doesn't exit if the test fails
(should probably add assertions on the value of hndl_called in more places)
* Using a negative time causes Linux to treat it as zero, so disable that test.
/external/python/cpython2/Lib/test/test_signal.py
aef18b1c67f11aec579eada382fabc3597e1aae2 24-Mar-2008 Martin v. Löwis <martin@v.loewis.de> Patch #2240: Implement signal.setitimer and signal.getitimer.
/external/python/cpython2/Lib/test/test_signal.py
413f588a368a0bd612aed38c835eb4d8a0c1aaef 21-Mar-2008 Jeffrey Yasskin <jyasskin@gmail.com> Try to fix test_signal on FreeBSD. I'm assuming that os.kill is failing to
raise a signal, but switching to subprocess makes the code cleaner anyway.
/external/python/cpython2/Lib/test/test_signal.py
6cda88ea11e5434e8292ce28ce18679f929d01e4 21-Mar-2008 Jeffrey Yasskin <jyasskin@gmail.com> Try to fix test_signal breakages on Linux due to r61687. It appears that at
least two of the linux build bots aren't leaving zombie processes around for
os.waitpid to wait for, causing ECHILD errors. This would be a symptom of a bug
somewhere, but probably not in signal itself.
/external/python/cpython2/Lib/test/test_signal.py
cf26f5419e51a62ae796369ecece8019688f94f4 21-Mar-2008 Jeffrey Yasskin <jyasskin@gmail.com> Speed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls.
/external/python/cpython2/Lib/test/test_signal.py
acfd8ed0cd6c88375f1b27ba8ffd072e7a588473 28-Feb-2008 Christian Heimes <christian@cheimes.de> Windows fix for signal test - skip it earlier
/external/python/cpython2/Lib/test/test_signal.py
7e251e83d5b488904212f91bace1322d12475803 23-Feb-2008 Facundo Batista <facundobatista@gmail.com> Issue 1089358. Adds the siginterrupt() function, that is just a
wrapper around the system call with the same name. Also added
test cases, doc changes and NEWS entry. Thanks Jason and Ralf
Schmitt.
/external/python/cpython2/Lib/test/test_signal.py
02de8979ccc09d1ef5162f64dbc9e546dae2da4e 19-Dec-2007 Guido van Rossum <guido@python.org> Patch #1583 by Adam Olsen.

This adds signal.set_wakeup_fd(fd) which sets a file descriptor to
which a zero byte will be written whenever a C exception handler runs.

I added a simple C API as well, PySignal_SetWakeupFd(fd).
/external/python/cpython2/Lib/test/test_signal.py
9f2b93e03ac1b79f2a25aeb2c3b094fbe816d1d4 24-Aug-2007 Georg Brandl <georg@python.org> Patch #1008: port test_signal to unittest.
/external/python/cpython2/Lib/test/test_signal.py
953c1897d2c1683e37899998d4e2bc1a9d85b6c0 12-Aug-2006 Tim Peters <tim.peters@gmail.com> Ah, fudge. One of the prints here actually "shouldn't be"
protected by "if verbose:", which caused the test to fail on
all non-Windows boxes.

Note that I deliberately didn't convert this to unittest yet,
because I expect it would be even harder to debug this on Tru64
after conversion.
/external/python/cpython2/Lib/test/test_signal.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_signal.py
8b8c59cf1db86682fdc48791a0fcfa997d36eb06 11-Aug-2006 Tim Peters <tim.peters@gmail.com> force_test_exit(): This has been completely ineffective
at stopping test_signal from hanging forever on the Tru64
buildbot. That could be because there's no such thing as
signal.SIGALARM. Changed to the idiotic (but standard)
signal.SIGALRM instead, and added some more debug output.
/external/python/cpython2/Lib/test/test_signal.py
3ee5941f68fea95116e30a78fb0cc2fb359c48ea 02-Aug-2006 Neal Norwitz <nnorwitz@gmail.com> Let us know when there was a problem and the child had to kill the parent
/external/python/cpython2/Lib/test/test_signal.py
313f8a903c6ad5fd7adc1167540becca3381dbb3 30-Jul-2006 Neal Norwitz <nnorwitz@gmail.com> Try to prevent hangs on Tru64/Alpha buildbot. I'm not certain this will help
and may need to be reverted if it causes problems.
/external/python/cpython2/Lib/test/test_signal.py
ec3c5e396e58b19fdd4e4bd722eb56d431ca38af 30-Jul-2006 Neal Norwitz <nnorwitz@gmail.com> Verify that the signal handlers were really called
/external/python/cpython2/Lib/test/test_signal.py
9730bcb4a6d3d2dfc1717fa6e64cf4845d418637 23-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Test getsignal() and some error conditions
/external/python/cpython2/Lib/test/test_signal.py
8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4 07-Aug-2004 Armin Rigo <arigo@tunes.org> Let's not use string exceptions any more.
/external/python/cpython2/Lib/test/test_signal.py
5c26e860960ca30341ed61c8f20c34b0667ad315 11-Jun-2004 Michael W. Hudson <mwh@python.net> lightly modified version of my patch
[ 971323 ] make test_signal less annoying
after some comments on IRC from a highly opinionated australian who
wishes to remain anonymous.
/external/python/cpython2/Lib/test/test_signal.py
0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a 24-Apr-2003 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_signal.py
43ed43bfc1380d36dd87f405080b5b3fae55532a 13-Mar-2003 Michael W. Hudson <mwh@python.net> Take out my (long since disabled) POSIX signal mask handling code.

I'm not going to have the time or energy to get this working x-platform
-- anyone who does is welcome to the code!
/external/python/cpython2/Lib/test/test_signal.py
04f357cffef6d764f2f0ff2671dabde75ec250d1 23-Jul-2002 Barry Warsaw <barry@python.org> Get rid of relative imports in all unittests. Now anything that
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. :)
/external/python/cpython2/Lib/test/test_signal.py
c411dbaeee29dba87d5432a92fe76ea65d8e25f0 16-Jul-2002 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_signal.py
34f20eac987b1ca006ebdfe5531a6931243294fb 27-May-2002 Michael W. Hudson <mwh@python.net> This is patch

[ 559250 ] more POSIX signal stuff

Adds support (and docs and tests and autoconfery) for posix signal
mask handling -- sigpending, sigprocmask and sigsuspend.
/external/python/cpython2/Lib/test/test_signal.py
e2ae77b8b8a62e648bb1864a9b36ef3280984404 24-Oct-2001 Guido van Rossum <guido@python.org> SF patch #474590 -- RISC OS support
/external/python/cpython2/Lib/test/test_signal.py
f785042433f0c43ed1ba2ba0388fc51d79bcf5c3 17-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> a bold attempt to fix things broken by MAL's verify patch: import
'verify' iff it's used by a test module...
/external/python/cpython2/Lib/test/test_signal.py
3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e 17-Jan-2001 Marc-André Lemburg <mal@egenix.com> This patch removes all uses of "assert" in the regression test suite
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.
/external/python/cpython2/Lib/test/test_signal.py
004d5e6880940ddbb38460986ac62ee0f1bae97d 23-Oct-2000 Fred Drake <fdrake@acm.org> Make reindent.py happy (convert everything to 4-space indents!).
/external/python/cpython2/Lib/test/test_signal.py
b9fa0a843e239bcdaecbe16aaa508e9e25b5afce 04-Aug-2000 Thomas Wouters <thomas@python.org> Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
/external/python/cpython2/Lib/test/test_signal.py
8e9ebfd337f18f7b707853a3f2f49cc6245c0596 22-Nov-1997 Guido van Rossum <guido@python.org> os2 patch by Jeff Rush
/external/python/cpython2/Lib/test/test_signal.py
cc5a91dc4f1cf130e27d1b8d8283d263c5d359f9 16-Apr-1997 Guido van Rossum <guido@python.org> Soft failure for Win32 platform.
/external/python/cpython2/Lib/test/test_signal.py
5e056bbb76bec655f447fd44367f88e33af3bb02 24-Dec-1996 Barry Warsaw <barry@python.org> test_rotor.py: New test of the rotor module.

test_*: converted to the new test harness. GvR note! test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness. It must be a timing issue, but I haven't figured it out
yet.
/external/python/cpython2/Lib/test/test_signal.py
4f17e3e2f94f334965f304aa65056af3fcdbbca3 16-Mar-1995 Guido van Rossum <guido@python.org> test signal module
/external/python/cpython2/Lib/test/test_signal.py