[Jython-checkins] jython: Skip hanging tests.
frank.wierzbicki
jython-checkins at python.org
Fri Jun 8 21:30:50 CEST 2012
http://hg.python.org/jython/rev/8bf7e0d6133c
changeset: 6692:8bf7e0d6133c
user: Frank Wierzbicki <fwierzbicki at gmail.com>
date: Fri Jun 08 12:30:36 2012 -0700
summary:
Skip hanging tests.
files:
Lib/test/test_io.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -792,6 +792,7 @@
self.assertEqual(bufio.readinto(b), 0)
self.assertEqual(b, b"gf")
+ @unittest.skipIf(support.is_jython, "FIXME: hangs in Jython")
def test_readlines(self):
def bufio():
rawio = self.MockRawIO((b"abc\n", b"d\n", b"ef"))
@@ -1261,6 +1262,7 @@
pair = self.tp(self.BytesIO(b"abc"), self.MockRawIO())
self.assertEqual(pair.read(None), b"abc")
+ @unittest.skipIf(support.is_jython, "FIXME: hangs in Jython")
def test_readlines(self):
pair = lambda: self.tp(self.BytesIO(b"abc\ndef\nh"), self.MockRawIO())
self.assertEqual(pair().readlines(), [b"abc\n", b"def\n", b"h"])
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list