summaryrefslogtreecommitdiff
path: root/test/test_oddball.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r--test/test_oddball.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_oddball.py b/test/test_oddball.py
index b102019b..a40fb4c8 100644
--- a/test/test_oddball.py
+++ b/test/test_oddball.py
@@ -245,7 +245,7 @@ class ExceptionTest(CoverageTest):
self.assertEqual(clean_lines, lines_expected)
-if sys.hexversion > 0x02050000:
+if sys.version_info >= (2, 5):
class DoctestTest(CoverageTest):
"""Tests invoked with doctest should measure properly."""