ed5c541dc1
- Update to version 19.3.1 * Document Python 3.8 support. * Fix bug that prevented installation of PEP 517 packages without setup.py. * Remove undocumented support for un-prefixed URL requirements pointing to SVN repositories. * Remove the deprecated --venv option from pip config. * Make pip show warn about packages not found. * Abort installation if any archive contains a file which would be placed outside the extraction location. * pip's CLI completion code no longer prints a Traceback if it is interrupted. * Ignore errors copying socket files for local source installs (in Python 3). * Skip copying .tox and .nox directories to temporary build directories * Ignore "require_virtualenv" in pip config OBS-URL: https://build.opensuse.org/request/show/741057 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=74
14 lines
570 B
Diff
14 lines
570 B
Diff
Index: pip-19.1.1/tests/unit/test_wheel.py
|
|
===================================================================
|
|
--- pip-19.1.1.orig/tests/unit/test_wheel.py
|
|
+++ pip-19.1.1/tests/unit/test_wheel.py
|
|
@@ -378,7 +378,7 @@ def test_check_compatibility():
|
|
# test raises with correct error
|
|
with pytest.raises(UnsupportedWheel) as e:
|
|
wheel.check_compatibility(higher_v, name)
|
|
- assert 'is not compatible' in str(e)
|
|
+ assert 'is not compatible' in str(e.value)
|
|
|
|
# Should only log.warning - minor version is greater
|
|
higher_v = (vc[0], vc[1] + 1)
|