Update conftest.py (#24473)
This commit is contained in:
parent
323b47a94e
commit
477c8ce820
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@
|
||||||
import tempfile
|
import tempfile
|
||||||
import xml.etree.ElementTree
|
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
|
# CVS outputs dates in different formats on different systems. We are using
|
||||||
# the dateutil package to parse these dates. This package does not exist
|
# 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
|
# CVS respositories. (We can still use CVS repos with all features, only
|
||||||
# our tests break.)
|
# our tests break.)
|
||||||
from dateutil.parser import parse as parse_date
|
from dateutil.parser import parse as parse_date
|
||||||
|
|
Loading…
Reference in a new issue