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

Method testUnambiguousYearFirst

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

Source from the content-addressed store, hash-verified

682 datetime(2009, 7, 1))
683
684 def testUnambiguousYearFirst(self):
685 dtstr = '2015 09 25'
686 self.assertEqual(parse(dtstr, yearfirst=True),
687 datetime(2015, 9, 25))
688
689 def testUnambiguousDayFirst(self):
690 dtstr = '2015 09 25'

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected