Skip to content

Commit bbb583c

Browse files
committed
TST: fix test_nework.py fixture under py27
1 parent 03bb900 commit bbb583c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/io/parser/test_network.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ def salaries_table():
2020
return read_table(path)
2121

2222

23-
@tm.network
2423
@pytest.mark.parametrize(
2524
"compression,extension", [('gzip', '.gz'), ('bz2', '.bz2'),
2625
('zip', '.zip'), ('xz', '.xz')])
2726
def test_compressed_urls(salaries_table, compression, extension):
27+
check_compressed_urls(salaries_table, compression, extension)
28+
29+
30+
@tm.network
31+
def check_compressed_urls(salaries_table, compression, extension):
2832
# test reading compressed urls with various engines and
2933
# extension inference
3034
base_url = ('https://github.com/pandas-dev/pandas/raw/master/'

0 commit comments

Comments
 (0)