From e821042473257d62ede7eafda1f4ff54bbf648a2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 1 Mar 2024 23:18:17 +0000 Subject: Adding metadata --- .../files/python-dateutil-2.9.0-no-pytest-cov.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch (limited to 'dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch') diff --git a/dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch b/dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch new file mode 100644 index 000000000000..d483451a0adf --- /dev/null +++ b/dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch @@ -0,0 +1,18 @@ +diff --git a/tests/conftest.py b/tests/conftest.py +index 78ed70a..4bb4c0a 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -14,10 +14,11 @@ def pytest_collection_modifyitems(items): + + marker = marker_getter('xfail') + ++ # requires pytest-cov + # Need to query the args because conditional xfail tests still have + # the xfail mark even if they are not expected to fail +- if marker and (not marker.args or marker.args[0]): +- item.add_marker(pytest.mark.no_cover) ++ #if marker and (not marker.args or marker.args[0]): ++ # item.add_marker(pytest.mark.no_cover) + + + def set_tzpath(): -- cgit v1.3.1