From a0cbc108ba9dbdd4cc223486561f3e6a347e2d0a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 9 Mar 2017 00:11:05 +0100 Subject: tests/float: Make various tests skippable. --- tests/float/builtin_float_minmax.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/float/builtin_float_minmax.py') diff --git a/tests/float/builtin_float_minmax.py b/tests/float/builtin_float_minmax.py index ce45a768a5..42cfa63822 100644 --- a/tests/float/builtin_float_minmax.py +++ b/tests/float/builtin_float_minmax.py @@ -1,4 +1,11 @@ # test builtin min and max functions with float args +try: + min + max +except: + import sys + print("SKIP") + sys.exit() print(min(0,1.0)) print(min(1.0,0)) -- cgit v1.2.3