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

Method testSupportAmbiguityFoldNaive

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

Source from the content-addressed store, hash-verified

2608 tz=tzi))
2609
2610 def testSupportAmbiguityFoldNaive(self):
2611 tzi = tz.gettz("America/New_York")
2612
2613 dt = datetime(2011, 11, 6, 1, 30)
2614
2615 self.assertTrue(tz.datetime_ambiguous(dt, tz=tzi))
2616
2617 def testSupportAmbiguityFoldAware(self):
2618 tzi = tz.gettz("America/New_York")

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected