Skip to content

Commit 03695aa

Browse files
committed
TST: Remove disabled marks
1 parent 42790ae commit 03695aa

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

pandas/conftest.py

-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ def pytest_addoption(parser):
88
help="run network tests")
99
parser.addoption("--only-slow", action="store_true",
1010
help="run only slow tests")
11-
parser.addoption("--run-disabled", action="store_false",
12-
help="run disabled tests")
1311

1412

1513
def pytest_runtest_setup(item):
@@ -21,6 +19,3 @@ def pytest_runtest_setup(item):
2119

2220
if 'skip' in item.keywords and item.config.getoption("--skip-network"):
2321
pytest.skip("skipping due to --skip-network")
24-
25-
if 'disabled' in item.keywords and item.config.getoption("--run-disabled"):
26-
pytest.skip("need --run-disabled option to run")

pandas/io/tests/parser/test_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TestCompressedUrl(object):
2424
'xz': '.xz',
2525
}
2626

27-
def setUp(self):
27+
def setup(self):
2828
path = os.path.join(tm.get_data_path(), 'salaries.csv')
2929
self.local_table = read_table(path)
3030
self.base_url = ('https://github.com/pandas-dev/pandas/raw/master/'

pandas/util/testing.py

-1
Original file line numberDiff line numberDiff line change
@@ -2550,7 +2550,6 @@ def assert_produces_warning(expected_warning=Warning, filter_level="always",
25502550
% extra_warnings)
25512551

25522552

2553-
disabled = pytest.mark.disabled
25542553
slow = pytest.mark.slow
25552554

25562555

0 commit comments

Comments
 (0)