(self)
| 243 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 244 | reason="Need strtold_l") |
| 245 | def test_loadtxt(self): |
| 246 | with temppath() as path: |
| 247 | with open(path, 'w') as f: |
| 248 | f.write(self.out) |
| 249 | res = np.loadtxt(path, dtype=np.longdouble) |
| 250 | assert_equal(res, self.tgt) |
| 251 | |
| 252 | @pytest.mark.skipif(string_to_longdouble_inaccurate, |
| 253 | reason="Need strtold_l") |
nothing calls this directly
no test coverage detected