Skip to content

Commit b34b395

Browse files
author
Jeff Whitaker
committed
fix missing part of previous commit
1 parent 37ebf1e commit b34b395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/tst_multifile2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def runTest(self):
126126
assert_equal(T.typecode(), t.typecode())
127127
# skip this until cftime pull request #55 is in a released
128128
# version (1.0.1?). Otherwise, fix for issue #808 breaks this
129-
if parse_version(cftime.__version__) >= parse_version('1.0.1'):
129+
if Version(cftime.__version__) >= Version('1.0.1'):
130130
assert_array_equal(cftime.num2date(T[:], T.units, T.calendar), dates)
131131
assert_equal(cftime.date2index(datetime.datetime(1980, 1, 2), T), 366)
132132
f.close()

0 commit comments

Comments
 (0)