1. Hong Minhee
  2. jython

Commits

Frank Wierzbicki  committed 8bf7e0d

Skip hanging tests.

  • Participants
  • Parent commits 86c218f
  • Branches default

Comments (0)

Files changed (1)

File Lib/test/test_io.py

View file
         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"))
         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"])