MCPcopy Create free account
hub / github.com/numpy/numpy / teardown_method

Method teardown_method

numpy/core/tests/test_memmap.py:25–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 self.data.resize(self.shape)
24
25 def teardown_method(self):
26 self.tmpfp.close()
27 self.data = None
28 if IS_PYPY:
29 break_cycles()
30 break_cycles()
31
32 def test_roundtrip(self):
33 # Write data to file

Callers

nothing calls this directly

Calls 2

break_cyclesFunction · 0.90
closeMethod · 0.45

Tested by

no test coverage detected