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

Method testMicrosecondsPrecisionError

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

Source from the content-addressed store, hash-verified

596 dt += delta
597
598 def testMicrosecondsPrecisionError(self):
599 # Skip found out that sad precision problem. :-(
600 dt1 = parse("00:11:25.01")
601 dt2 = parse("00:12:10.01")
602 assert dt1.microsecond == 10000
603 assert dt2.microsecond == 10000
604
605 def testMicrosecondPrecisionErrorReturns(self):
606 # One more precision issue, discovered by Eric Brown. This should

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected