diff options
author | Guido van Rossum <guido@python.org> | 2007-07-18 21:00:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-18 21:00:22 (GMT) |
commit | 7eb6ca54a740da19fa5d98c1c1f4b33536d7a39b (patch) | |
tree | 55ce4528a9e8b05b2fea25e92703483471e0b87b /Lib/test/test_parser.py | |
parent | df4a743ac0d87c3a1b63e43e9aa977dc5b337fb5 (diff) | |
download | cpython-7eb6ca54a740da19fa5d98c1c1f4b33536d7a39b.zip cpython-7eb6ca54a740da19fa5d98c1c1f4b33536d7a39b.tar.gz cpython-7eb6ca54a740da19fa5d98c1c1f4b33536d7a39b.tar.bz2 |
Make test_parser pass after merge.
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r-- | Lib/test/test_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index dbf6a92..14ebac9 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -444,9 +444,9 @@ class CompileTestCase(unittest.TestCase): self.assertRaises(SyntaxError, parser.compilest, st) def test_compile_badunicode(self): - st = parser.suite('a = u"\U12345678"') + st = parser.suite('a = "\\U12345678"') self.assertRaises(SyntaxError, parser.compilest, st) - st = parser.suite('a = u"\u1"') + st = parser.suite('a = "\\u1"') self.assertRaises(SyntaxError, parser.compilest, st) def test_main(): |