From 6ab728612d57a93db23e1bbafc15019744f7355e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 3 Sep 2014 23:32:28 +0200 Subject: [PATCH] Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0 --- Lib/test/test_io.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 1cf97dd2e6..32e908da20 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") -- 2.40.0