Skip to content

Commit

Permalink
Simpler code.
Browse files Browse the repository at this point in the history
  • Loading branch information
lebigot committed Apr 23, 2012
1 parent 308be84 commit 54848c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uncertainties/test_umath.py
Expand Up @@ -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
Expand Down

0 comments on commit 54848c1

Please sign in to comment.