summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-18 21:00:22 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-18 21:00:22 (GMT)
commit7eb6ca54a740da19fa5d98c1c1f4b33536d7a39b (patch)
tree55ce4528a9e8b05b2fea25e92703483471e0b87b /Lib/test/test_parser.py
parentdf4a743ac0d87c3a1b63e43e9aa977dc5b337fb5 (diff)
downloadcpython-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.py4
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():