Commit ca9f0e8d authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Fix failing unicode test caused by change to ast.c at r56441

parent bf4cb447
......@@ -55,9 +55,9 @@ class UnicodeTest(
def test_literals(self):
self.assertEqual(u'\xff', u'\u00ff')
self.assertEqual(u'\uffff', u'\U0000ffff')
self.assertRaises(UnicodeError, eval, 'u\'\\Ufffffffe\'')
self.assertRaises(UnicodeError, eval, 'u\'\\Uffffffff\'')
self.assertRaises(UnicodeError, eval, 'u\'\\U%08x\'' % 0x110000)
self.assertRaises(SyntaxError, eval, 'u\'\\Ufffffffe\'')
self.assertRaises(SyntaxError, eval, 'u\'\\Uffffffff\'')
self.assertRaises(SyntaxError, eval, 'u\'\\U%08x\'' % 0x110000)
def test_repr(self):
if not sys.platform.startswith('java'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment