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

Method setup_class

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

tzoffsetClass · 0.90

Tested by

no test coverage detected