Kaydet (Commit) 944099ff authored tarafından Ezio Melotti's avatar Ezio Melotti

#5057: null merge with 3.3 (only add tests).

......@@ -213,6 +213,9 @@ class TestTranforms(unittest.TestCase):
asm = dis_single('"\u0061\uffff"[1]')
self.assertIn("('\\uffff')", asm)
self.assertNotIn('BINARY_SUBSCR', asm)
asm = dis_single('"\U00012345abcdef"[3]')
self.assertIn("('c')", asm)
self.assertNotIn('BINARY_SUBSCR', asm)
# invalid code doesn't get optimized
# out of range
......
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