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

Method testIncreasingISOFormat

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

Source from the content-addressed store, hash-verified

589 dt += delta
590
591 def testIncreasingISOFormat(self):
592 delta = timedelta(days=365+31+1, seconds=1+60+60*60)
593 dt = datetime(1900, 1, 1, 0, 0, 0, 0)
594 for i in range(200):
595 assert parse(dt.isoformat()) == dt
596 dt += delta
597
598 def testMicrosecondsPrecisionError(self):
599 # Skip found out that sad precision problem. :-(

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected