(self)
| 257 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 258 | reason="Need strtold_l") |
| 259 | def test_loadtxt(self): |
| 260 | with temppath() as path: |
| 261 | with open(path, 'w') as f: |
| 262 | f.write(self.out) |
| 263 | res = np.loadtxt(path, dtype=np.longdouble) |
| 264 | assert_equal(res, self.tgt) |
| 265 | |
| 266 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 267 | reason="Need strtold_l") |
nothing calls this directly
no test coverage detected