MCPcopy Index your code
hub / github.com/numpy/numpy / test_arithmetic_drops_references

Method test_arithmetic_drops_references

numpy/_core/tests/test_memmap.py:129–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127 assert_equal(fp_base[0], 6)
128
129 def test_arithmetic_drops_references(self):
130 fp = memmap(self.tmpfp, dtype=self.dtype, mode='w+',
131 shape=self.shape)
132 tmp = (fp + 10)
133 if isinstance(tmp, memmap):
134 assert_(tmp._mmap is not fp._mmap)
135
136 def test_indexing_drops_references(self):
137 fp = memmap(self.tmpfp, dtype=self.dtype, mode='w+',

Callers

nothing calls this directly

Calls 2

memmapClass · 0.90
assert_Function · 0.90

Tested by

no test coverage detected