Skip to content

Commit 3617f1e

Browse files
mark the failing test for pytest-dev#3742 as strict xfail so we can merge the pr about testing
1 parent 8c9efd8 commit 3617f1e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

changelog/3751.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a xfailing test for the `regression introduced by package scope <https://github.com/pytest-dev/pytest/issues/3742>`_.

testing/python/fixture.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,9 @@ def test_package(one):
16191619
reprec = testdir.inline_run()
16201620
reprec.assertoutcome(passed=2)
16211621

1622+
@pytest.mark.xfail(
1623+
strict=True, reason="https://github.com/pytest-dev/pytest/issues/3742"
1624+
)
16221625
def test_collect_custom_items(self, testdir):
16231626
testdir.copy_example("fixtures/custom_item")
16241627
result = testdir.runpytest("foo")

0 commit comments

Comments
 (0)