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

Method __exit__

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

Source from the content-addressed store, hash-verified

217 self.set_current_tz(self.tzval)
218
219 def __exit__(self, type, value, traceback):
220 if self._old_tz is not None:
221 self.set_current_tz(self._old_tz)
222
223 self._old_tz = None
224
225 def get_current_tz(self):
226 raise NotImplementedError

Callers

nothing calls this directly

Calls 1

set_current_tzMethod · 0.95

Tested by

no test coverage detected