We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b00047 commit 75a811aCopy full SHA for 75a811a
2 files changed
tests/basics/int1.py
@@ -67,7 +67,6 @@ def test(value, base):
67
test('', 0)
68
test(' ', 0)
69
test(' \t\t ', 0)
70
-test("\u0200", 0)
71
test('0x', 16)
72
test('0x', 0)
73
test('0o', 8)
tests/unicode/unicode.py
@@ -26,3 +26,9 @@
26
eval('"\\U00110000"')
27
except SyntaxError:
28
print('SyntaxError')
29
+
30
+# test unicode string given to int
31
+try:
32
+ int('\u0200')
33
+except ValueError:
34
+ print('ValueError')
0 commit comments