diff --git a/pytest.ini b/pytest.ini index 8fc69dc7a..116063be4 100644 --- a/pytest.ini +++ b/pytest.ini @@ -6,7 +6,6 @@ markers = windows: Tests which only can run on Windows. linux: Tests which only can run on Linux. osx: Tests which only can run on OS X. - not_osx: Tests which can not run on OS X. not_frozen: Tests which can't be run if sys.frozen is True. frozen: Tests which can only be run if sys.frozen is True. integration: Tests which test a bigger portion of code, run without coverage. diff --git a/tests/conftest.py b/tests/conftest.py index b1e68b0a9..b00d9ec8b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -90,8 +90,6 @@ def pytest_runtest_setup(item): pytest.skip("Requires Linux.") elif item.get_marker('osx') and sys.platform != 'darwin': pytest.skip("Requires OS X.") - elif item.get_marker('not_osx') and sys.platform == 'darwin': - pytest.skip("Skipped on OS X.") elif item.get_marker('not_frozen') and getattr(sys, 'frozen', False): pytest.skip("Can't be run when frozen!") elif item.get_marker('frozen') and not getattr(sys, 'frozen', False): diff --git a/tests/unit/utils/test_standarddir.py b/tests/unit/utils/test_standarddir.py index 91efe6b02..0642f08cf 100644 --- a/tests/unit/utils/test_standarddir.py +++ b/tests/unit/utils/test_standarddir.py @@ -211,7 +211,7 @@ class TestArguments: assert standarddir.runtime() == str(tmpdir / 'qute_test') @pytest.mark.parametrize('typ', ['config', 'data', 'cache', 'download', - pytest.mark.not_osx('runtime')]) + 'runtime']) def test_basedir(self, tmpdir, typ): """Test --basedir.""" expected = str(tmpdir / typ)