Traceback (most recent call last):
File ".tox/py27-latest-lib/bin/py.test", line 5, in <module>
from pytest import main
File ".tox/py27-latest-lib/local/lib/python2.7/site-packages/pytest.py", line 14, in <module>
from _pytest.config import main, UsageError, _preloadplugins, cmdline
File ".tox/py27-latest-lib/local/lib/python2.7/site-packages/_pytest/config.py", line 12, in <module>
from _pytest.core import PluginManager
File ".tox/py27-latest-lib/local/lib/python2.7/site-packages/_pytest/core.py", line 11, in <module>
"%s is too old, remove or upgrade 'py'" % (py.__version__))
AssertionError: installation problem: 1.10.0 is too old, remove or upgrade 'py'
Source code:
# ['1', '10'] >= ['1', '4'] return false, should change to numeric compare: [1, 10] >= [1, 4]
assert py.__version__.split(".")[:2] >= ['1', '4'], ("installation problem: "
"%s is too old, remove or upgrade 'py'" % (py.__version__))
pip environment:
Errors:
Source code: