Skip to content

Commit

Permalink
use network decorator on additional tests (pandas-dev#16824)
Browse files Browse the repository at this point in the history
(cherry picked from commit 15db50b)
  • Loading branch information
jreback authored and TomAugspurger committed Jul 6, 2017
1 parent 262cc2c commit 2be66f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/io/parser/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def salaries_table():
return read_table(path)


@pytest.mark.network
@pytest.mark.parametrize(
"compression,extension",
[('gzip', '.gz'), ('bz2', '.bz2'), ('zip', '.zip'),
Expand Down
2 changes: 2 additions & 0 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_xarray(df):
assert df.to_xarray() is not None


@tm.network
def test_statsmodels():

statsmodels = import_module('statsmodels') # noqa
Expand Down Expand Up @@ -84,6 +85,7 @@ def test_pandas_gbq(df):
pandas_gbq = import_module('pandas_gbq') # noqa


@tm.network
def test_pandas_datareader():

pandas_datareader = import_module('pandas_datareader') # noqa
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ testpaths = pandas
markers =
single: mark a test as single cpu only
slow: mark a test as slow
network: mark a test as network

0 comments on commit 2be66f1

Please sign in to comment.