Browse Source

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

pull/1317/merge
Damien George 9 years ago
parent
commit
75a811a6df
  1. 1
      tests/basics/int1.py
  2. 6
      tests/unicode/unicode.py

1
tests/basics/int1.py

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

6
tests/unicode/unicode.py

@ -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…
Cancel
Save