Skip to content

Commit e56a98f

Browse files
committed
Use skip for detached alias characterization test
Replace xfail(strict=False) with skip to avoid XPASS noise.
1 parent 9af7661 commit e56a98f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unstub_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ def testPartialUnstubByMethodReferenceDoesNotRestoreMatchingPatchAttr(self):
152152
with pytest.raises(AttributeError):
153153
cat.meow()
154154

155-
@pytest.mark.xfail(
156-
strict=False,
155+
@pytest.mark.skip(
157156
reason=(
158157
"Characterization only: detached bound-method aliases currently "
159158
"prefer patch_attr replacement matching before method-level unstub "

0 commit comments

Comments
 (0)