Skip to content

Commit

Permalink
use xfail instead of skip
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Oct 30, 2023
1 parent 89c96a6 commit 2966dda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_assync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/validator/test_complexvalidators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit 2966dda

Please sign in to comment.