tests: Move int+unicode test to unicode-specific test directory.
This commit is contained in:
@@ -26,3 +26,9 @@ try:
|
||||
eval('"\\U00110000"')
|
||||
except SyntaxError:
|
||||
print('SyntaxError')
|
||||
|
||||
# test unicode string given to int
|
||||
try:
|
||||
int('\u0200')
|
||||
except ValueError:
|
||||
print('ValueError')
|
||||
|
||||
Reference in New Issue
Block a user