From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../files/python-dateutil-2.8.1-no-pytest-cov.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch (limited to 'dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch') 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(): -- cgit v1.3.1