diff options
Diffstat (limited to 'Lib/test/test_eof.py')
-rw-r--r-- | Lib/test/test_eof.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_eof.py b/Lib/test/test_eof.py index 9ef8eb1187..bb1300c7c2 100644 --- a/Lib/test/test_eof.py +++ b/Lib/test/test_eof.py @@ -26,6 +26,7 @@ class EOFTestCase(unittest.TestCase): else: raise support.TestFailed + @unittest.skipIf(sys.flags.use_peg, "TODO for PEG -- fails with new parser") def test_line_continuation_EOF(self): """A continuation at the end of input must be an error; bpo2180.""" expect = 'unexpected EOF while parsing (<string>, line 1)' @@ -36,6 +37,7 @@ class EOFTestCase(unittest.TestCase): exec('\\') self.assertEqual(str(excinfo.exception), expect) + @unittest.skip("TODO for PEG -- fails even with old parser now") @unittest.skipIf(not sys.executable, "sys.executable required") def test_line_continuation_EOF_from_file_bpo2180(self): """Ensure tok_nextc() does not add too many ending newlines.""" |