diff --git a/pipenv/utils.py b/pipenv/utils.py index f90431a1..0ba41eb5 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -29,7 +29,7 @@ def python_version(path_to_python): try: TEMPLATE = 'Python {}.{}.{}' c = delegator.run([path_to_python,'--version'], block=False) - c.return_code == 0 + assert c.return_code == 0 except Exception: return None