diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-01 23:18:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-01 23:18:17 +0000 |
| commit | e821042473257d62ede7eafda1f4ff54bbf648a2 (patch) | |
| tree | 627ab36b071804313959f7a1145a542891781142 /dev-python/python-dateutil/files/python-dateutil-2.9.0-no-pytest-cov.patch | |
| parent | 8efc4509aea0f448e657d1bced6f33942c99b025 (diff) | |
| download | baldeagleos-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.patch | 18 |
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(): |
