Make test_parser pass after merge.

This commit is contained in:
Guido van Rossum 2007-07-18 21:00:22 +00:00
parent df4a743ac0
commit 7eb6ca54a7
1 changed files with 2 additions and 2 deletions

View File

@ -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():