1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Add a reason why we're xfail-ing this test

This test uses xfail to test the negation of what's described in the
test, i.e. the assertion should "fail" if the command does what we
expect. I think this is a terrible way to write a test, but don't bother
to rewrite. This commit message is left here to tell future maintainers
what the test is all about by git blame.
This commit is contained in:
Tzu-ping Chung 2020-05-14 15:11:10 +08:00
parent d911a9fcb8
commit 56d53cd60b

View file

@ -191,7 +191,12 @@ def test_freeze_svn(script, tmpdir):
@pytest.mark.git
@pytest.mark.xfail
@pytest.mark.xfail(
condition=True,
reason="xfail means editable is not in output",
run=True,
strict=True,
)
def test_freeze_exclude_editable(script, tmpdir):
"""
Test excluding editable from freezing list.