(self, tmp_path)
| 117 | fh.close() |
| 118 | |
| 119 | def test_InvalidFile(self, tmp_path): |
| 120 | ds = datasource.DataSource(tmp_path) |
| 121 | invalid_file = invalid_textfile(tmp_path) |
| 122 | assert_raises(OSError, ds.open, invalid_file) |
| 123 | |
| 124 | def test_ValidGzipFile(self, tmp_path): |
| 125 | try: |
nothing calls this directly
no test coverage detected