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

pull/1317/merge
Damien George 2015-09-07 21:36:24 +01:00
rodzic 2b000474d9
commit 75a811a6df
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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