gentoo/dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch
Patrick McLean 7e4e025b86
dev-python/python-dateutil: Verbump to 2.8.1, add py38
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2019-11-21 15:55:12 -08:00

19 lines
687 B
Diff

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():