tests/float: Add tests for zero to a negative power.

This commit is contained in:
Damien George
2017-02-03 00:04:13 +11:00
parent 3ed0e5e5d4
commit 8a39e18f5f
3 changed files with 15 additions and 0 deletions

View File

@@ -75,6 +75,11 @@ try:
except ZeroDivisionError:
print("ZeroDivisionError")
try:
0.0 ** -1
except ZeroDivisionError:
print("ZeroDivisionError")
# unsupported unary ops
try: