tests: Add tests to improve coverage of objstr.c.
This commit is contained in:
@@ -24,6 +24,10 @@ try:
|
||||
'123' * '1'
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
try:
|
||||
'123' + 1
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
||||
# subscription
|
||||
print('abc'[1])
|
||||
|
||||
Reference in New Issue
Block a user