diff options
Diffstat (limited to 'tests/basics/string1.py')
-rw-r--r-- | tests/basics/string1.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/string1.py b/tests/basics/string1.py index b8ca15c34..b3abfb9c6 100644 --- a/tests/basics/string1.py +++ b/tests/basics/string1.py @@ -24,6 +24,10 @@ try: '123' * '1' except TypeError: print('TypeError') +try: + '123' + 1 +except TypeError: + print('TypeError') # subscription print('abc'[1]) |