(self)
| 141 | out = ''.join([str(t) + '\n' for t in tgt]) |
| 142 | |
| 143 | def test_fromfile_bogus(self): |
| 144 | with temppath() as path: |
| 145 | with open(path, 'w') as f: |
| 146 | f.write("1. 2. 3. flop 4.\n") |
| 147 | |
| 148 | with assert_raises(ValueError): |
| 149 | np.fromfile(path, dtype=float, sep=" ") |
| 150 | |
| 151 | def test_fromfile_complex(self): |
| 152 | for ctype in ["complex", "cdouble"]: |
nothing calls this directly
no test coverage detected