From c5fc15685202cda73f7c3f5c6f299b0945f58508 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Wed, 22 Apr 2020 23:29:27 +0100 Subject: bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503) Co-authored-by: Guido van Rossum Co-authored-by: Lysandros Nikolaou --- Lib/test/test_exceptions.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/test/test_exceptions.py') diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 8c4a2882ba..c234c2b739 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -178,6 +178,7 @@ class ExceptionTests(unittest.TestCase): s = '''if True:\n print()\n\texec "mixed tabs and spaces"''' ckmsg(s, "inconsistent use of tabs and spaces in indentation", TabError) + @unittest.skipIf(sys.flags.use_peg, "Pegen column offsets might be different") def testSyntaxErrorOffset(self): def check(src, lineno, offset, encoding='utf-8'): with self.assertRaises(SyntaxError) as cm: -- cgit v1.2.1