Commit 75a811a6 authored by Damien George's avatar Damien George
Browse files

tests: Move int+unicode test to unicode-specific test directory.

parent 2b000474
......@@ -67,7 +67,6 @@ test(' 1' + chr(2) + ' ', 0)
test('', 0)
test(' ', 0)
test(' \t\t ', 0)
test("\u0200", 0)
test('0x', 16)
test('0x', 0)
test('0o', 8)
......
......@@ -26,3 +26,9 @@ try:
eval('"\\U00110000"')
except SyntaxError:
print('SyntaxError')
# test unicode string given to int
try:
int('\u0200')
except ValueError:
print('ValueError')
Supports Markdown
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