summaryrefslogtreecommitdiff
path: root/dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-01 23:18:17 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-01 23:18:17 +0000
commite821042473257d62ede7eafda1f4ff54bbf648a2 (patch)
tree627ab36b071804313959f7a1145a542891781142 /dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch
parent8efc4509aea0f448e657d1bced6f33942c99b025 (diff)
downloadbaldeagleos-repo-e821042473257d62ede7eafda1f4ff54bbf648a2.tar.gz
baldeagleos-repo-e821042473257d62ede7eafda1f4ff54bbf648a2.tar.xz
baldeagleos-repo-e821042473257d62ede7eafda1f4ff54bbf648a2.zip
Adding metadata
Diffstat (limited to 'dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch')
-rw-r--r--dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch18
1 files changed, 18 insertions, 0 deletions
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():