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

Method testUnspecifiedDayFallbackFebLeapYear

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

Source from the content-addressed store, hash-verified

562 datetime(2007, 2, 28))
563
564 def testUnspecifiedDayFallbackFebLeapYear(self):
565 self.assertEqual(parse("Feb 2008", default=datetime(2010, 1, 31)),
566 datetime(2008, 2, 29))
567
568 def testErrorType01(self):
569 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected