Fix failing unicode test caused by change to ast.c at r56441
This commit is contained in:
parent
b6ac23cd07
commit
db98f3632a
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue