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

Method testInGapAware

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

Source from the content-addressed store, hash-verified

2728 self.assertFalse(tz.datetime_exists(dt, tz=tzi))
2729
2730 def testInGapAware(self):
2731 tzi = tz.gettz('Australia/Sydney')
2732
2733 dt = datetime(2012, 10, 7, 2, 30, tzinfo=tzi)
2734
2735 self.assertFalse(tz.datetime_exists(dt))
2736
2737 def testExistsNaive(self):
2738 tzi = tz.gettz('Australia/Sydney')

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected