From 54848c1d4c5da650df61c698bacb623e296d24db Mon Sep 17 00:00:00 2001 From: "Eric LEBIGOT (EOL)" Date: Mon, 23 Apr 2012 15:51:17 +0800 Subject: [PATCH] Simpler code. --- uncertainties/test_umath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncertainties/test_umath.py b/uncertainties/test_umath.py index 28d0d86c..0ff92c9e 100644 --- a/uncertainties/test_umath.py +++ b/uncertainties/test_umath.py @@ -206,7 +206,7 @@ def test_math_module(): # Python >=2.6 functions: - if sys.version_info[:2] >= (2, 6): + if sys.version_info >= (2, 6): # factorial() must not be "damaged" by the umath module, so as # to help make it a drop-in replacement for math (even though