mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests: Add tests for SyntaxError, TypeError, and other missing things.
This is intended to improve coverage of the test suite.
This commit is contained in:
@@ -32,3 +32,6 @@ except ValueError:
|
||||
print("Raised ValueError")
|
||||
else:
|
||||
print("Did not raise ValueError")
|
||||
|
||||
# 3rd argument to index greater than length of list
|
||||
print([1, 2].index(1, 0, 4))
|
||||
|
||||
Reference in New Issue
Block a user