Fix tests for deprecated Pythons
@@ -349,4 +349,4 @@ def in_memory_pip():
@pytest.fixture
def deprecated_python():
"""Used to indicate wheither pip deprecated this python version"""
- return sys.version_info[:2] == (3, 4)
+ return sys.version_info[:2] in [(3, 4), (2, 7)]
