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:
@@ -46,3 +46,8 @@ def t():
|
||||
return True
|
||||
|
||||
print("0000".count('0', t()))
|
||||
|
||||
try:
|
||||
'abc'.count(1)
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
||||
Reference in New Issue
Block a user