diff options
| author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-21 15:18:19 -0800 |
|---|---|---|
| committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-21 15:55:12 -0800 |
| commit | 7e4e025b8614a5c69be5eddce8984d7805c08c80 (patch) | |
| tree | 362268bd3643c2c38c8f0f166ea839091e9d721c /dev-python/python-dateutil/files | |
| parent | c0c0ba7575e436b0d9087a97a991b9c50f11ae19 (diff) | |
| download | gentoo-7e4e025b8614a5c69be5eddce8984d7805c08c80.tar.gz gentoo-7e4e025b8614a5c69be5eddce8984d7805c08c80.tar.bz2 gentoo-7e4e025b8614a5c69be5eddce8984d7805c08c80.zip | |
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>
Diffstat (limited to 'dev-python/python-dateutil/files')
| -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(): |
