Skip to content

Commit 15db50b

Browse files
authored
use network decorator on additional tests (#16824)
1 parent 04de578 commit 15db50b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

pandas/tests/io/parser/test_network.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def salaries_table():
1919
return read_table(path)
2020

2121

22+
@pytest.mark.network
2223
@pytest.mark.parametrize(
2324
"compression,extension",
2425
[('gzip', '.gz'), ('bz2', '.bz2'), ('zip', '.zip'),

pandas/tests/test_downstream.py

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_xarray(df):
5252
assert df.to_xarray() is not None
5353

5454

55+
@tm.network
5556
def test_statsmodels():
5657

5758
statsmodels = import_module('statsmodels') # noqa
@@ -84,6 +85,7 @@ def test_pandas_gbq(df):
8485
pandas_gbq = import_module('pandas_gbq') # noqa
8586

8687

88+
@tm.network
8789
def test_pandas_datareader():
8890

8991
pandas_datareader = import_module('pandas_datareader') # noqa

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ testpaths = pandas
2626
markers =
2727
single: mark a test as single cpu only
2828
slow: mark a test as slow
29+
network: mark a test as network

0 commit comments

Comments
 (0)