Skip to content

Commit ada4ee6

Browse files
committed
fix xfail marker
1 parent 2a2690e commit ada4ee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/utils/test_patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _newer_echo(fn, *args):
254254
assert echo("foo") == "echo: foo"
255255

256256

257-
@pytest.mark.xfail("Not yet working: it removes all patches")
257+
@pytest.mark.xfail(reason="Not yet working: it removes all patches")
258258
def test_multiple_patches_same_target_sequentially_undone():
259259
def _new_echo(fn, *args):
260260
return fn(*args) + " new"
@@ -274,7 +274,7 @@ def _newer_echo(fn, *args):
274274
assert echo("foo") == "echo: foo newer"
275275

276276

277-
@pytest.mark.xfail("Not yet working: it only applies latest")
277+
@pytest.mark.xfail(reason="Not yet working: it only applies latest")
278278
def test_multiple_patches_same_target_apply_concurrently():
279279
def test_echo(arg):
280280
return f"echo: {arg}"

0 commit comments

Comments
 (0)