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:
parent
d911a9fcb8
commit
56d53cd60b
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue