MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

Lib/test/test_tracemalloc.py:120–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 tracemalloc.start(1)
119
120 def tearDown(self):
121 tracemalloc.stop()
122
123 def test_get_tracemalloc_memory(self):
124 data = [allocate_bytes(123) for count in range(1000)]

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected