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

Method testUnspecifiedDayFallbackFebNoLeapYear

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

Source from the content-addressed store, hash-verified

546 datetime(2009, 4, 30))
547
548 def testUnspecifiedDayFallbackFebNoLeapYear(self):
549 self.assertEqual(parse("Feb 2007", default=datetime(2010, 1, 31)),
550 datetime(2007, 2, 28))
551
552 def testUnspecifiedDayFallbackFebLeapYear(self):
553 self.assertEqual(parse("Feb 2008", default=datetime(2010, 1, 31)),

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected