From 15db50bbdbce91608c9c4c0bc1398c41a619a9be Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Tue, 4 Jul 2017 16:35:36 -0400 Subject: [PATCH] use network decorator on additional tests (#16824) --- pandas/tests/io/parser/test_network.py | 1 + pandas/tests/test_downstream.py | 2 ++ setup.cfg | 1 + 3 files changed, 4 insertions(+) diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index e12945a6a3102..cfa60248605ad 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -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'), diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index 27e3c29a70a9f..61f0c992225c6 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -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 @@ -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 diff --git a/setup.cfg b/setup.cfg index 1f9bea6718a4d..05d4c84ca56c4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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