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

Method test_filename_fileobj

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

Source from the content-addressed store, hash-verified

92 del fp
93
94 def test_filename_fileobj(self):
95 fp = memmap(self.tmpfp, dtype=self.dtype, mode="w+",
96 shape=self.shape)
97 assert_equal(fp.filename, self.tmpfp.name)
98
99 @pytest.mark.skipif(sys.platform == 'gnu0',
100 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