(tempdir, dataset_reader, pickle_module)
| 2800 | |
| 2801 | @pytest.mark.parquet |
| 2802 | def test_open_union_dataset(tempdir, dataset_reader, pickle_module): |
| 2803 | _, path = _create_single_file(tempdir) |
| 2804 | dataset = ds.dataset(path) |
| 2805 | |
| 2806 | union = ds.dataset([dataset, dataset]) |
| 2807 | assert isinstance(union, ds.UnionDataset) |
| 2808 | |
| 2809 | pickled = pickle_module.loads(pickle_module.dumps(union)) |
| 2810 | assert dataset_reader.to_table(pickled) == dataset_reader.to_table(union) |
| 2811 | |
| 2812 | |
| 2813 | def test_open_union_dataset_with_additional_kwargs(multisourcefs): |
nothing calls this directly
no test coverage detected