diff --git a/test/tst_multifile2.py b/test/tst_multifile2.py index 65e36f43a..f8e8552a6 100644 --- a/test/tst_multifile2.py +++ b/test/tst_multifile2.py @@ -126,7 +126,7 @@ def runTest(self): assert_equal(T.typecode(), t.typecode()) # skip this until cftime pull request #55 is in a released # version (1.0.1?). Otherwise, fix for issue #808 breaks this - if parse_version(cftime.__version__) >= parse_version('1.0.1'): + if Version(cftime.__version__) >= Version('1.0.1'): assert_array_equal(cftime.num2date(T[:], T.units, T.calendar), dates) assert_equal(cftime.date2index(datetime.datetime(1980, 1, 2), T), 366) f.close()