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

Method test_era_trailing_year

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

Source from the content-addressed store, hash-verified

722 parse(invalid)
723
724 def test_era_trailing_year(self):
725 dstr = 'AD2001'
726 res = parse(dstr)
727 assert res.year == 2001, res
728
729 def test_includes_timestr(self):
730 timestr = "2020-13-97T44:61:83"

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected