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

Method test_filename_fileobj

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

Source from the content-addressed store, hash-verified

99 del fp
100
101 def test_filename_fileobj(self):
102 fp = memmap(self.tmpfp, dtype=self.dtype, mode="w+",
103 shape=self.shape)
104 assert_equal(fp.filename, self.tmpfp.name)
105
106 @pytest.mark.skipif(sys.platform == 'gnu0',
107 reason="Known to fail on hurd")

Callers

nothing calls this directly

Calls 2

memmapClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected