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

This commit is contained in:
Damien George 2015-09-07 21:36:24 +01:00
parent 2b000474d9
commit 75a811a6df
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -26,3 +26,9 @@ try:
eval('"\\U00110000"')
except SyntaxError:
print('SyntaxError')
# test unicode string given to int
try:
int('\u0200')
except ValueError:
print('ValueError')