tests: Move int+unicode test to unicode-specific test directory.
This commit is contained in:
parent
2b000474d9
commit
75a811a6df
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user