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

Method testGettzCacheTzFile

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

Source from the content-addressed store, hash-verified

1067 self.assertEqual(t_west.dst(), timedelta(hours=1))
1068
1069 def testGettzCacheTzFile(self):
1070 NYC1 = tz.gettz('America/New_York')
1071 NYC2 = tz.gettz('America/New_York')
1072
1073 assert NYC1 is NYC2
1074
1075 def testGettzCacheTzLocal(self):
1076 local1 = tz.gettz()

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected