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

Method testSupportAmbiguityFoldNaive

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

Source from the content-addressed store, hash-verified

2518 tz=tzi))
2519
2520 def testSupportAmbiguityFoldNaive(self):
2521 tzi = tz.gettz('US/Eastern')
2522
2523 dt = datetime(2011, 11, 6, 1, 30)
2524
2525 self.assertTrue(tz.datetime_ambiguous(dt, tz=tzi))
2526
2527 def testSupportAmbiguityFoldAware(self):
2528 tzi = tz.gettz('US/Eastern')

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected