]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Sep 2014 21:32:28 +0000 (23:32 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Sep 2014 21:32:28 +0000 (23:32 +0200)
Lib/test/test_io.py

index 1cf97dd2e6ef2fa6629ba57b256382d0c98c113a..32e908da203febddc7a17c8e24e92d99a5735932 100644 (file)
@@ -3298,6 +3298,8 @@ class SignalsTest(unittest.TestCase):
     def test_interrupted_write_buffered(self):
         self.check_interrupted_write(b"xy", b"xy", mode="wb")
 
+    # Issue #22331: The test hangs on FreeBSD 7.2
+    @support.requires_freebsd_version(8)
     def test_interrupted_write_text(self):
         self.check_interrupted_write("xy", b"xy", mode="w", encoding="ascii")