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

Method test_attributes

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

Source from the content-addressed store, hash-verified

63 del fp
64
65 def test_attributes(self):
66 offset = 1
67 mode = "w+"
68 fp = memmap(self.tmpfp, dtype=self.dtype, mode=mode,
69 shape=self.shape, offset=offset)
70 assert_equal(offset, fp.offset)
71 assert_equal(mode, fp.mode)
72 del fp
73
74 def test_filename(self, tmp_path):
75 tmpname = tmp_path / "mmap"

Callers

nothing calls this directly

Calls 2

memmapClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected