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

Method test_attributes

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

Source from the content-addressed store, hash-verified

56 del fp
57
58 def test_attributes(self):
59 offset = 1
60 mode = "w+"
61 fp = memmap(self.tmpfp, dtype=self.dtype, mode=mode,
62 shape=self.shape, offset=offset)
63 assert_equal(offset, fp.offset)
64 assert_equal(mode, fp.mode)
65 del fp
66
67 def test_filename(self, tmp_path):
68 tmpname = tmp_path / "mmap"

Callers

nothing calls this directly

Calls 2

memmapClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected