MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

Lib/test/test_zoneinfo/test_zoneinfo.py:1584–1591  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1582 module = py_zoneinfo
1583
1584 def setUp(self):
1585 self.klass.clear_cache()
1586
1587 with contextlib.ExitStack() as stack:
1588 stack.enter_context(test_support.set_zoneinfo_module(self.module))
1589 self.addCleanup(stack.pop_all().close)
1590
1591 super().setUp()
1592
1593 @property
1594 def zoneinfo_data(self):

Callers

nothing calls this directly

Calls 6

superClass · 0.85
enter_contextMethod · 0.80
addCleanupMethod · 0.80
clear_cacheMethod · 0.45
pop_allMethod · 0.45
setUpMethod · 0.45

Tested by

no test coverage detected