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

Method test_exit_fold

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

Source from the content-addressed store, hash-verified

2773 assert dt.fold == 1
2774
2775 def test_exit_fold(self):
2776 dt = tz.enfold(datetime(2020, 1, 19, 3, 32), fold=0)
2777
2778 assert dt.fold == 0
2779
2780 def test_defold(self):
2781 dt = tz.enfold(datetime(2020, 1, 19, 3, 32), fold=1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected