[Pytest-commit] commit/tox: hpk42: Merged in flub/tox (pull request #119)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Sep 23 16:36:44 CEST 2014


1 new commit in tox:

https://bitbucket.org/hpk42/tox/commits/9dd51ef1cdbb/
Changeset:   9dd51ef1cdbb
User:        hpk42
Date:        2014-09-23 14:36:38+00:00
Summary:     Merged in flub/tox (pull request #119)

Better error reporting for a bad interpreter
Affected #:  1 file

diff -r 35e3076d3c770b0180da25bedb66a21e82b75994 -r 9dd51ef1cdbb000809b509dffd79288453155e85 tox/_config.py
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -184,6 +184,9 @@
         info = self.config.interpreters.get_info(self.basepython)
         if not info.executable:
             raise tox.exception.InterpreterNotFound(self.basepython)
+        if not info.version_info:
+            raise tox.exception.InvocationError(
+                'Failed to get version_info for %s: %s' % (info.name, info.err))
         if info.version_info < (2,6):
             raise tox.exception.UnsupportedInterpreter(
                 "python2.5 is not supported anymore, sorry")

Repository URL: https://bitbucket.org/hpk42/tox/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list