2019-10-18 14:29:37 +02:00
|
|
|
Index: pip-19.1.1/tests/unit/test_wheel.py
|
2019-07-22 10:25:30 +02:00
|
|
|
===================================================================
|
2019-10-18 14:29:37 +02:00
|
|
|
--- pip-19.1.1.orig/tests/unit/test_wheel.py
|
|
|
|
+++ pip-19.1.1/tests/unit/test_wheel.py
|
2019-07-22 10:25:30 +02:00
|
|
|
@@ -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)
|