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

Method testMicrosecondsPrecisionError

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

Source from the content-addressed store, hash-verified

599 dt += delta
600
601 def testMicrosecondsPrecisionError(self):
602 # Skip found out that sad precision problem. :-(
603 dt1 = parse("00:11:25.01")
604 dt2 = parse("00:12:10.01")
605 assert dt1.microsecond == 10000
606 assert dt2.microsecond == 10000
607
608 def testMicrosecondPrecisionErrorReturns(self):
609 # 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