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

Method test_mstridx

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

Source from the content-addressed store, hash-verified

697 datetime(2015, 9, 25))
698
699 def test_mstridx(self):
700 # See GH408
701 dtstr = '2015-15-May'
702 self.assertEqual(parse(dtstr),
703 datetime(2015, 5, 15))
704
705 def test_idx_check(self):
706 dtstr = '2017-07-17 06:15:'

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected