mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
tests: Add more tests to improve coverage, mostly testing exceptions.
This commit is contained in:
@@ -21,3 +21,8 @@ print("0000".find('-1', 3))
|
||||
print("0000".find('1', 3))
|
||||
print("0000".find('1', 4))
|
||||
print("0000".find('1', 5))
|
||||
|
||||
try:
|
||||
'abc'.find(1)
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
||||
Reference in New Issue
Block a user