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

Method __exit__

tests/_common.py:99–103  ·  view source on GitHub ↗
(self, type, value, traceback)

Source from the content-addressed store, hash-verified

97 self.set_current_tz(self.tzval)
98
99 def __exit__(self, type, value, traceback):
100 if self._old_tz is not None:
101 self.set_current_tz(self._old_tz)
102
103 self._old_tz = None
104
105 def get_current_tz(self):
106 raise NotImplementedError

Callers

nothing calls this directly

Calls 1

set_current_tzMethod · 0.95

Tested by

no test coverage detected