mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-10 13:40:16 +00:00
test case for true-division ZeroDivisionError
This commit is contained in:
parent
1b793fd5b2
commit
9b5c862ed1
@ -139,6 +139,12 @@ try:
|
|||||||
except ZeroDivisionError:
|
except ZeroDivisionError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
1 / 0
|
||||||
|
exit(1)
|
||||||
|
except ZeroDivisionError:
|
||||||
|
pass
|
||||||
|
|
||||||
assert not 1 < 2 > 3
|
assert not 1 < 2 > 3
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user