summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-09-03 21:32:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-09-03 21:32:28 (GMT)
commit6ab728612d57a93db23e1bbafc15019744f7355e (patch)
treeb6df96d1260bcb6a97050161d60accd7181b6f80 /Lib
parentc6a1c02cce3a12683cd951193c8f9ce30d79f6dc (diff)
downloadcpython-6ab728612d57a93db23e1bbafc15019744f7355e.zip
cpython-6ab728612d57a93db23e1bbafc15019744f7355e.tar.gz
cpython-6ab728612d57a93db23e1bbafc15019744f7355e.tar.bz2
Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_io.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 1cf97dd..32e908d 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -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")