Skip to content

Commit

Permalink
mark the failing test for pytest-dev#3742 as strict xfail so we can m…
Browse files Browse the repository at this point in the history
…erge the pr about testing
  • Loading branch information
RonnyPfannschmidt committed Aug 1, 2018
1 parent 8c9efd8 commit 3617f1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/3751.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a xfailing test for the `regression introduced by package scope <https://github.com/pytest-dev/pytest/issues/3742>`_.
3 changes: 3 additions & 0 deletions testing/python/fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,9 @@ def test_package(one):
reprec = testdir.inline_run()
reprec.assertoutcome(passed=2)

@pytest.mark.xfail(
strict=True, reason="https://github.com/pytest-dev/pytest/issues/3742"
)
def test_collect_custom_items(self, testdir):
testdir.copy_example("fixtures/custom_item")
result = testdir.runpytest("foo")
Expand Down

0 comments on commit 3617f1e

Please sign in to comment.