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

Method testRepr

tests/test_tz.py:1894–1899  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1892 return tzc
1893
1894 def testRepr(self):
1895 instr = StringIO(TZICAL_PST8PDT)
1896 instr.name = 'StringIO(PST8PDT)'
1897 tzc = tz.tzical(instr)
1898
1899 self.assertEqual(repr(tzc), "tzical(" + repr(instr.name) + ")")
1900
1901 # Test performance
1902 def _test_us_zone(self, tzc, func, values, start):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected