diff --git a/tests/test_assync.py b/tests/test_assync.py index 683402a28..0d0ce0210 100644 --- a/tests/test_assync.py +++ b/tests/test_assync.py @@ -27,7 +27,7 @@ def setUp(self) -> None: def tearDown(self) -> None: configuration.load_configuration() - @pytest.mark.skip(reason="fails on python>=3.8") + @pytest.mark.xfail(reason="fails on python>=3.8") def test_async(self): client = client_for(Service(processes=[Sleep()])) wps = WPSExecution() diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 1b10def35..e93bb98ca 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -22,7 +22,7 @@ def test_expand_user(self): configuration.CONFIG.read_string("[envinterpolationsection]\nuser=$USER") assert user == configuration.CONFIG["envinterpolationsection"]["user"] - @pytest.mark.skip(reason="not working with tox") + @pytest.mark.xfail(reason="not working with tox") def test_expand_user_with_some_text(self): """Ensure we can parse a value with the $USER entry and some more text.""" user = os.environ.get("USER") diff --git a/tests/validator/test_complexvalidators.py b/tests/validator/test_complexvalidators.py index 088a996cf..1b531faf2 100644 --- a/tests/validator/test_complexvalidators.py +++ b/tests/validator/test_complexvalidators.py @@ -95,7 +95,7 @@ def test_json_validator(self): self.assertTrue(validatejson(json_input, MODE.STRICT), 'STRICT validation') json_input.stream.close() - @pytest.mark.skip(reason="fails on python>=3.8") + @pytest.mark.xfail(reason="fails on python>=3.8") def test_geojson_validator(self): """Test GeoJSON validator """