diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch')
| -rw-r--r-- | dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch b/dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch new file mode 100644 index 000000000000..84adb944548e --- /dev/null +++ b/dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch @@ -0,0 +1,18 @@ +diff --git a/dateutil/test/conftest.py b/dateutil/test/conftest.py +index 78ed70a..4bb4c0a 100644 +--- a/dateutil/test/conftest.py ++++ b/dateutil/test/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(): |
