Skip to content

Commit

Permalink
port test case with fractional hours
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Feb 27, 2019
1 parent 5ddf09d commit 89202ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dateutil/test/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@
("20080227T21:26:01.123456789", datetime(2008, 2, 27, 21, 26, 1, 123456), "high precision seconds"),
('13NOV2017', datetime(2017, 11, 13), "dBY (See GH360)"),
('0003-03-04', datetime(3, 3, 4), "pre 12 year same month (See GH PR #293)"),
('December.0031.30', datetime(31, 12, 30), "BYd corner case (GH#687)")
('December.0031.30', datetime(31, 12, 30), "BYd corner case (GH#687)"),

# Cases with legacy h/m/s format, candidates for deprecation (GH#886)
("2016-12-21 04.2h", datetime(2016, 12, 21, 4, 12), "Fractional Hours"),
]


Expand Down

0 comments on commit 89202ca

Please sign in to comment.