Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Oct 16, 2020
1 parent e74b794 commit 3d70c7d
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 @@ -1553,7 +1553,7 @@ def test_num2date_only_use_cftime_datetimes_post_gregorian(

def test_repr():
expected = "cftime.datetime(2000, 1, 1, 0, 0, 0, 0, calendar='standard')"
assert repr(datetimex(2000, 1, 1, calendar='standard')) == expected
assert repr(datetimex(2000, 1, 1, calendar='gregorian')) == expected
expected = "cftime.datetime(2000, 1, 1, 0, 0, 0, 0, calendar=None)"
assert repr(datetimex(2000, 1, 1, calendar=None)) == expected

Expand Down

0 comments on commit 3d70c7d

Please sign in to comment.