From 8a39e18f5fc960eb0901b8e219b7026ebe466f3d Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 3 Feb 2017 00:04:13 +1100 Subject: tests/float: Add tests for zero to a negative power. --- tests/float/float1.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/float/float1.py') 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: -- cgit v1.2.3