Skip to content

Commit

Permalink
Merge pull request #317 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
jswhit authored Feb 13, 2024
2 parents 8e2d310 + 4fbce1e commit ff5eedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cftime.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def roundtrip(delta,eps,units):
# num2date should not fail on an empty int array (issue #287)
d = cftime.num2date(np.array([], dtype="int64"), "days since 1970-01-01",\
calendar="proleptic_gregorian", only_use_cftime_datetimes=True)
# date2num should return an empty array if given one (isse #315)
# date2num should return an empty array if given one (issue #315)
d = cftime.date2num([], 'seconds since 2000-01-01 12:00:00')
assert(d.size==0)

Expand Down

0 comments on commit ff5eedd

Please sign in to comment.