mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
tests: Add tests to improve coverage of runtime.c.
This commit is contained in:
@@ -75,6 +75,12 @@ try:
|
||||
except TypeError:
|
||||
print("TypeError")
|
||||
|
||||
#small int on LHS, complex on RHS, unsupported op
|
||||
try:
|
||||
print(1 | 1j)
|
||||
except TypeError:
|
||||
print('TypeError')
|
||||
|
||||
# zero division
|
||||
try:
|
||||
1j / 0
|
||||
|
||||
Reference in New Issue
Block a user