From: Victor Stinner Date: Wed, 3 Sep 2014 21:32:28 +0000 (+0200) Subject: Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0 X-Git-Tag: v3.4.2rc1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ab728612d57a93db23e1bbafc15019744f7355e;p=thirdparty%2FPython%2Fcpython.git Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0 --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 1cf97dd2e6ef..32e908da203f 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")