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

Method testISOStrippedFormatStrip2

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

Source from the content-addressed store, hash-verified

475 tzinfo=tzoffset(None, 10800)))
476
477 def testISOStrippedFormatStrip2(self):
478 self.assertEqual(parse("20030925T104941+0300"),
479 datetime(2003, 9, 25, 10, 49, 41,
480 tzinfo=tzoffset(None, 10800)))
481
482 def testAMPMNoHour(self):
483 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 2

parseFunction · 0.90
tzoffsetClass · 0.90

Tested by

no test coverage detected