$OpenBSD: patch-Lib_test_test_io_py,v 1.1 2011/07/20 12:06:57 rpointel Exp $ --- Lib/test/test_io.py.orig Sat Jul 9 08:58:50 2011 +++ Lib/test/test_io.py Mon Jul 11 14:13:36 2011 @@ -2694,12 +2694,15 @@ if e.errno != errno.EBADF: raise + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupted_write_unbuffered(self): self.check_interrupted_write(b"xy", b"xy", mode="wb", buffering=0) + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupted_write_buffered(self): self.check_interrupted_write(b"xy", b"xy", mode="wb") + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupted_write_text(self): self.check_interrupted_write("xy", b"xy", mode="w", encoding="ascii") @@ -2758,10 +2761,12 @@ os.close(w) os.close(r) + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupterd_read_retry_buffered(self): self.check_interrupted_read_retry(lambda x: x.decode('latin1'), mode="rb") + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupterd_read_retry_text(self): self.check_interrupted_read_retry(lambda x: x, mode="r") @@ -2821,9 +2826,11 @@ if e.errno != errno.EBADF: raise + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupterd_write_retry_buffered(self): self.check_interrupted_write_retry(b"x", mode="wb") + @unittest.skipIf(sys.platform.startswith("openbsd"), "blocking on OpenBSD") def test_interrupterd_write_retry_text(self): self.check_interrupted_write_retry("x", mode="w", encoding="latin1")