summaryrefslogtreecommitdiff
path: root/tests/float/float1.py
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2017-02-07 22:27:32 +0100
committerGlenn Ruben Bakke <glennbakke@gmail.com>2017-02-07 22:27:32 +0100
commit122d0430db4d103dfb8bc9958b7df4d9803038c8 (patch)
tree856ac0d4950b0154cc6aae8cf022fd29b2402073 /tests/float/float1.py
parent723943abde3e9de5e14ee40df5e0d5fe25352c97 (diff)
parent4cf7fd151e98a3d842eb5c9428545cb67ddd57ee (diff)
Merge branch 'nrf52' into nrf5_no_sdk
Diffstat (limited to 'tests/float/float1.py')
-rw-r--r--tests/float/float1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/float/float1.py b/tests/float/float1.py
index 0e115032b..93f6f014c 100644
--- a/tests/float/float1.py
+++ b/tests/float/float1.py
@@ -75,6 +75,11 @@ try:
except ZeroDivisionError:
print("ZeroDivisionError")
+try:
+ 0.0 ** -1
+except ZeroDivisionError:
+ print("ZeroDivisionError")
+
# unsupported unary ops
try: