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

Method testNoSupportAmbiguityFoldAware

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

Source from the content-addressed store, hash-verified

2473 tz=tzi))
2474
2475 def testNoSupportAmbiguityFoldAware(self):
2476 dt_start = datetime(2018, 9, 1, 1, 0)
2477 dt_end = datetime(2018, 9, 1, 2, 0)
2478
2479 tzi = self._get_no_support_tzinfo(dt_start, dt_end)
2480
2481 self.assertTrue(tz.datetime_ambiguous(datetime(2018, 9, 1, 1, 30,
2482 tzinfo=tzi)))
2483
2484 def testNoSupportAmbiguityUnambiguousNaive(self):
2485 dt_start = datetime(2018, 9, 1, 1, 0)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected