From 75a811a6df51392868ba35e9e341d882b842b066 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 7 Sep 2015 21:36:24 +0100 Subject: tests: Move int+unicode test to unicode-specific test directory. --- tests/unicode/unicode.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/unicode') diff --git a/tests/unicode/unicode.py b/tests/unicode/unicode.py index 3ed74b790..b31f064e9 100644 --- a/tests/unicode/unicode.py +++ b/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') -- cgit v1.2.3