Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: use network decorator on additional tests #16824

Merged
merged 1 commit into from
Jul 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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