summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-09-03 21:33:43 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-09-03 21:33:43 (GMT)
commita6b6bba5ed12a06c25ce431d8bd3706a45ee65a5 (patch)
treeab029ea415a254dea819c3cd76c9b53343247c47 /Lib/test/test_io.py
parenta4cc52875225003678b948d1e1a1c0c0ec728f3a (diff)
parent6ab728612d57a93db23e1bbafc15019744f7355e (diff)
downloadcpython-a6b6bba5ed12a06c25ce431d8bd3706a45ee65a5.zip
cpython-a6b6bba5ed12a06c25ce431d8bd3706a45ee65a5.tar.gz
cpython-a6b6bba5ed12a06c25ce431d8bd3706a45ee65a5.tar.bz2
(Merge 3.4) Issue #22331: Skip test_interrupted_write_text() on FreeBSD older
than 8.0
Diffstat (limited to 'Lib/test/test_io.py')
-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 ad86301..935e7c9 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -3383,6 +3383,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")