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

Method testISOStrippedFormatStrip2

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

Source from the content-addressed store, hash-verified

463 tzinfo=tzoffset(None, 10800)))
464
465 def testISOStrippedFormatStrip2(self):
466 self.assertEqual(parse("20030925T104941+0300"),
467 datetime(2003, 9, 25, 10, 49, 41,
468 tzinfo=tzoffset(None, 10800)))
469
470 def testAMPMNoHour(self):
471 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 2

parseFunction · 0.90
tzoffsetClass · 0.90

Tested by

no test coverage detected