tests: Add tests to improve coverage of objstr.c.

This commit is contained in:
Damien George
2015-09-03 23:06:18 +01:00
parent e2aa117798
commit 25afc7da0d
13 changed files with 81 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ try:
'123' * '1'
except TypeError:
print('TypeError')
try:
'123' + 1
except TypeError:
print('TypeError')
# subscription
print('abc'[1])