(self)
| 225 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 226 | reason="Need strtold_l") |
| 227 | def test_fromfile(self): |
| 228 | with temppath() as path: |
| 229 | with open(path, 'w') as f: |
| 230 | f.write(self.out) |
| 231 | res = np.fromfile(path, dtype=np.longdouble, sep="\n") |
| 232 | assert_equal(res, self.tgt) |
| 233 | |
| 234 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 235 | reason="Need strtold_l") |
nothing calls this directly
no test coverage detected