summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_eof.py
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-03-28 22:48:05 (GMT)
committerGitHub <noreply@github.com>2021-03-28 22:48:05 (GMT)
commit261a452a1300eeeae1428ffd6e6623329c085e2c (patch)
treef3b34dab530366537eda73354d8e28e05c51dd62 /Lib/test/test_eof.py
parentfb1d01b9630b5069fe975f16e07a027d90b89434 (diff)
downloadcpython-261a452a1300eeeae1428ffd6e6623329c085e2c.zip
cpython-261a452a1300eeeae1428ffd6e6623329c085e2c.tar.gz
cpython-261a452a1300eeeae1428ffd6e6623329c085e2c.tar.bz2
bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050)
Diffstat (limited to 'Lib/test/test_eof.py')
-rw-r--r--Lib/test/test_eof.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_eof.py b/Lib/test/test_eof.py
index b370e27..2d3b4ae 100644
--- a/Lib/test/test_eof.py
+++ b/Lib/test/test_eof.py
@@ -55,13 +55,13 @@ class EOFTestCase(unittest.TestCase):
file_name = script_helper.make_script(temp_dir, 'foo', '\\')
rc, out, err = script_helper.assert_python_failure(file_name)
self.assertIn(b'unexpected EOF while parsing', err)
- self.assertIn(b'line 2', err)
+ self.assertIn(b'line 1', err)
self.assertIn(b'\\', err)
file_name = script_helper.make_script(temp_dir, 'foo', 'y = 6\\')
rc, out, err = script_helper.assert_python_failure(file_name)
self.assertIn(b'unexpected EOF while parsing', err)
- self.assertIn(b'line 2', err)
+ self.assertIn(b'line 1', err)
self.assertIn(b'y = 6\\', err)
if __name__ == "__main__":