(parser, compression_only, geom_df, temp_file)
| 1286 | |
| 1287 | |
| 1288 | def test_compression_output(parser, compression_only, geom_df, temp_file): |
| 1289 | path = temp_file |
| 1290 | geom_df.to_xml(path, parser=parser, compression=compression_only) |
| 1291 | |
| 1292 | with get_handle( |
| 1293 | path, |
| 1294 | "r", |
| 1295 | compression=compression_only, |
| 1296 | ) as handle_obj: |
| 1297 | output = handle_obj.handle.read() |
| 1298 | |
| 1299 | output = equalize_decl(output) |
| 1300 | |
| 1301 | assert geom_xml == output.strip() |
| 1302 | |
| 1303 | |
| 1304 | def test_filename_and_suffix_comp( |
nothing calls this directly
no test coverage detected