MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/datetimetester.py:267–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

265class TestTimeZone(unittest.TestCase):
266
267 def setUp(self):
268 self.ACDT = timezone(timedelta(hours=9.5), 'ACDT')
269 self.EST = timezone(-timedelta(hours=5), 'EST')
270 self.DT = datetime(2010, 1, 1)
271
272 def test_str(self):
273 for tz in [self.ACDT, self.EST, timezone.utc,

Callers

nothing calls this directly

Calls 3

timezoneClass · 0.90
timedeltaClass · 0.90
datetimeClass · 0.90

Tested by

no test coverage detected