diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 09:48:17 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 09:48:17 (GMT) |
commit | 4479841b83feffdfe7ab43e2ba80ea0da8b155eb (patch) | |
tree | 9961fd1c6a16c4a13cb458a595c9fd5c651eac24 /Lib | |
parent | c8763b9d96510fd4fa0ec40ab3f188f3dd6b70ef (diff) | |
download | cpython-4479841b83feffdfe7ab43e2ba80ea0da8b155eb.zip cpython-4479841b83feffdfe7ab43e2ba80ea0da8b155eb.tar.gz cpython-4479841b83feffdfe7ab43e2ba80ea0da8b155eb.tar.bz2 |
Issue #12429: Skip interrupted write tests on FreeBSD <= 7
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 707b7cb..cfd4583 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2651,6 +2651,8 @@ class SignalsTest(unittest.TestCase): 1/0 @unittest.skipUnless(threading, 'Threading required for this test.') + @unittest.skipIf(sys.platform in ('freebsd5', 'freebsd6', 'freebsd7'), + 'issue #12429: skip test on FreeBSD <= 7') def check_interrupted_write(self, item, bytes, **fdopen_kwargs): """Check that a partial write, when it gets interrupted, properly invokes the signal handler, and bubbles up the exception raised |