summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/test/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/test/conftest.py b/lib/spack/spack/test/conftest.py
index 80d6305711..8d0ff77bb9 100644
--- a/lib/spack/spack/test/conftest.py
+++ b/lib/spack/spack/test/conftest.py
@@ -16,10 +16,10 @@ import sys
import tempfile
import xml.etree.ElementTree
-if sys.version_info >= (2, 7):
+if sys.version_info >= (3,):
# CVS outputs dates in different formats on different systems. We are using
# the dateutil package to parse these dates. This package does not exist
- # for Python <2.7. That means that we cannot test checkouts "by date" for
+ # for Python 2.x. That means that we cannot test checkouts "by date" for
# CVS respositories. (We can still use CVS repos with all features, only
# our tests break.)
from dateutil.parser import parse as parse_date