Skip to content

Commit c499344

Browse files
committed
rename compression arg in test_network.py
1 parent 5df1618 commit c499344

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pandas/tests/io/parser/test_network.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@
1515

1616
@pytest.mark.network
1717
@pytest.mark.parametrize(
18-
"compression,extension", [
18+
"compress_type, extension", [
1919
('gzip', '.gz'), ('bz2', '.bz2'), ('zip', '.zip'),
2020
pytest.param('xz', '.xz', marks=td.skip_if_no_lzma)
2121
]
2222
)
2323
@pytest.mark.parametrize('mode', ['explicit', 'infer'])
2424
@pytest.mark.parametrize('engine', ['python', 'c'])
25-
def test_compressed_urls(salaries_table, compression, extension, mode, engine):
26-
check_compressed_urls(salaries_table, compression, extension, mode, engine)
25+
def test_compressed_urls(salaries_table, compress_type, extension, mode,
26+
engine):
27+
check_compressed_urls(salaries_table, compress_type, extension, mode,
28+
engine)
2729

2830

2931
@tm.network

0 commit comments

Comments
 (0)