We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ff879 commit e3267f8Copy full SHA for e3267f8
lib/iris/tests/unit/plot/test__fixup_dates.py
@@ -23,6 +23,7 @@ def test_gregorian_calendar(self):
23
unit = Unit("hours since 2000-04-13 00:00:00", calendar="gregorian")
24
coord = AuxCoord([1, 3, 6], "time", units=unit)
25
result = _fixup_dates(coord, coord.points)
26
+ self.assertIsInstance(result[0], datetime.datetime)
27
expected = [
28
datetime.datetime(2000, 4, 13, 1),
29
datetime.datetime(2000, 4, 13, 3),
@@ -34,6 +35,7 @@ def test_gregorian_calendar_sub_second(self):
34
35
unit = Unit("seconds since 2000-04-13 00:00:00", calendar="gregorian")
36
coord = AuxCoord([1, 1.25, 1.5], "time", units=unit)
37
38
39
40
datetime.datetime(2000, 4, 13, 0, 0, 1),
41
0 commit comments