(self)
| 239 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 240 | reason="Need strtold_l") |
| 241 | def test_fromfile(self): |
| 242 | with temppath() as path: |
| 243 | with open(path, 'w') as f: |
| 244 | f.write(self.out) |
| 245 | res = np.fromfile(path, dtype=np.longdouble, sep="\n") |
| 246 | assert_equal(res, self.tgt) |
| 247 | |
| 248 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 249 | reason="Need strtold_l") |
nothing calls this directly
no test coverage detected