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

Method test_enter_fold

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

Source from the content-addressed store, hash-verified

2768 assert dt.fold == 1
2769
2770 def test_enter_fold(self):
2771 dt = tz.enfold(datetime(2020, 1, 19, 3, 32), fold=1)
2772
2773 assert dt.fold == 1
2774
2775 def test_exit_fold(self):
2776 dt = tz.enfold(datetime(2020, 1, 19, 3, 32), fold=0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected