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

Method testSupportAmbiguityFoldAware

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

Source from the content-addressed store, hash-verified

2615 self.assertTrue(tz.datetime_ambiguous(dt, tz=tzi))
2616
2617 def testSupportAmbiguityFoldAware(self):
2618 tzi = tz.gettz("America/New_York")
2619
2620 dt = datetime(2011, 11, 6, 1, 30, tzinfo=tzi)
2621
2622 self.assertTrue(tz.datetime_ambiguous(dt))
2623
2624 def testSupportAmbiguityUnambiguousAware(self):
2625 tzi = tz.gettz("America/New_York")

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected