(self)
| 6091 | """Test tofile, fromfile, tobytes, and fromstring""" |
| 6092 | |
| 6093 | def _create_data(self): |
| 6094 | shape = (2, 4, 3) |
| 6095 | rand = np.random.random |
| 6096 | x = rand(shape) + rand(shape).astype(complex) * 1j |
| 6097 | x[0, :, 1] = [np.nan, np.inf, -np.inf, np.nan] |
| 6098 | return x |
| 6099 | |
| 6100 | @pytest.fixture(params=["string", "path_obj"]) |
| 6101 | def param_filename(self, request): |
no test coverage detected