Skip to content

Commit

Permalink
fix missing part of previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Oct 24, 2023
1 parent 37ebf1e commit b34b395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tst_multifile2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b34b395

Please sign in to comment.