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

Method setup_class

tests/test_parser.py:411–418  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

409
410 @classmethod
411 def setup_class(cls):
412 cls.tzinfos = {"BRST": -10800}
413 cls.brsttz = tzoffset("BRST", -10800)
414 cls.default = datetime(2003, 9, 25)
415
416 # Parser should be able to handle bytestring and unicode
417 cls.uni_str = '2014-05-01 08:00:00'
418 cls.str_str = cls.uni_str.encode()
419
420 def testParserParseStr(self):
421 from dateutil.parser import parser

Callers

nothing calls this directly

Calls 1

tzoffsetClass · 0.90

Tested by

no test coverage detected