diff options
author | Damien George <damien.p.george@gmail.com> | 2015-09-07 21:36:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-09-07 21:36:24 +0100 |
commit | 75a811a6df51392868ba35e9e341d882b842b066 (patch) | |
tree | 85f61f5e447a9ee07ab4776af0e1abdef2476e0d /tests/unicode/unicode.py | |
parent | 2b000474d9350ede1c1aedb83ba8976d81ba4cf8 (diff) | |
download | micropython-75a811a6df51392868ba35e9e341d882b842b066.tar.gz micropython-75a811a6df51392868ba35e9e341d882b842b066.zip |
tests: Move int+unicode test to unicode-specific test directory.
Diffstat (limited to 'tests/unicode/unicode.py')
-rw-r--r-- | tests/unicode/unicode.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unicode/unicode.py b/tests/unicode/unicode.py index 3ed74b7900..b31f064e9c 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') |