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

Method testDateCommandFormatWithLong

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

Source from the content-addressed store, hash-verified

463 tzinfo=self.brsttz))
464
465 def testDateCommandFormatWithLong(self):
466 if PY2:
467 self.assertEqual(parse("Thu Sep 25 10:36:28 BRST 2003",
468 tzinfos={"BRST": long(-10800)}),
469 datetime(2003, 9, 25, 10, 36, 28,
470 tzinfo=self.brsttz))
471
472 def testISOFormatStrip2(self):
473 self.assertEqual(parse("2003-09-25T10:49:41+03:00"),

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected