diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 11:44:46 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 11:44:46 +0200 |
commit | 49d495fa257c6f60381945df10d71ba242b32a52 (patch) | |
tree | e3f9c6997678c04908da005f38bf4ad60f167ba2 | |
parent | eee1048e7b3ed47b2dc76db8bd9dcd7d4dffd94b (diff) | |
download | cpython-git-49d495fa257c6f60381945df10d71ba242b32a52.tar.gz |
Issue #12429: Skip interrupted write tests on FreeBSD <= 7
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
-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 d0608e3b85..d9705e7405 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2557,6 +2557,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 |