Skip to content

Commit 195a068

Browse files
authored
Fix Zstandard compression unit test (#45026)
1 parent 5a22750 commit 195a068

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pandas/tests/io/parser/test_network.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@
2222

2323

2424
@pytest.mark.network
25-
@pytest.mark.parametrize(
26-
"compress_type, extension",
27-
icom._compression_to_extension.items(),
28-
)
2925
@pytest.mark.parametrize("mode", ["explicit", "infer"])
3026
@pytest.mark.parametrize("engine", ["python", "c"])
31-
def test_compressed_urls(salaries_table, compress_type, extension, mode, engine):
32-
check_compressed_urls(salaries_table, compress_type, extension, mode, engine)
27+
def test_compressed_urls(salaries_table, mode, engine, compression_only):
28+
extension = icom._compression_to_extension[compression_only]
29+
check_compressed_urls(salaries_table, compression_only, extension, mode, engine)
3330

3431

3532
@tm.network

0 commit comments

Comments
 (0)