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

Method testIncreasingISOFormat

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected