(Merge 3.4) Issue #22331: Skip test_interrupted_write_text() on FreeBSD older

than 8.0
This commit is contained in:
Victor Stinner 2014-09-03 23:33:43 +02:00
commit a6b6bba5ed
1 changed files with 2 additions and 0 deletions

View File

@ -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")