MCPcopy Create free account
hub / github.com/dateutil/dateutil / testUnspecifiedDayFallbackFebLeapYear

Method testUnspecifiedDayFallbackFebLeapYear

tests/test_parser.py:552–554  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 datetime(2007, 2, 28))
551
552 def testUnspecifiedDayFallbackFebLeapYear(self):
553 self.assertEqual(parse("Feb 2008", default=datetime(2010, 1, 31)),
554 datetime(2008, 2, 29))
555
556 def testErrorType01(self):
557 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected