1 new commit in tox:

https://bitbucket.org/hpk42/tox/commits/18901cb31482/
Changeset:   18901cb31482
User:        ssc
Date:        2014-06-25 09:41:37
Summary:     Add support for PyPy3 (env "pypy3").
Affected #:  2 files

diff -r cefc0fd28dda72ac76a9170b4c586e0eb3f1d124 -r 
18901cb31482da6c4db6ed312287f115e9ca5a41 tests/test_config.py
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -554,7 +554,7 @@
         envconfig = config.envconfigs['python']
         assert envconfig.envpython == envconfig.envbindir.join("python")
 
-    @pytest.mark.parametrize("bp", ["jython", "pypy"])
+    @pytest.mark.parametrize("bp", ["jython", "pypy", "pypy3"])
     def test_envbindir_jython(self, tmpdir, newconfig, bp):
         config = newconfig("""
             [testenv]
@@ -916,7 +916,7 @@
         assert str(env.basepython) == sys.executable
 
     def test_default_environments(self, tmpdir, newconfig, monkeypatch):
-        envs = "py26,py27,py31,py32,py33,jython,pypy"
+        envs = "py26,py27,py31,py32,py33,py34,jython,pypy,pypy3"
         inisource = """
             [tox]
             envlist = %s
@@ -928,8 +928,8 @@
             env = config.envconfigs[name]
             if name == "jython":
                 assert env.basepython == "jython"
-            elif name == "pypy":
-                assert env.basepython == "pypy"
+            elif name.startswith("pypy"):
+                assert env.basepython == name
             else:
                 assert name.startswith("py")
                 bp = "python%s.%s" %(name[2], name[3])

diff -r cefc0fd28dda72ac76a9170b4c586e0eb3f1d124 -r 
18901cb31482da6c4db6ed312287f115e9ca5a41 tox/_config.py
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -15,7 +15,7 @@
 
 iswin32 = sys.platform == "win32"
 
-defaultenvs = {'jython': 'jython', 'pypy': 'pypy'}
+defaultenvs = {'jython': 'jython', 'pypy': 'pypy', 'pypy3': 'pypy3'}
 for _name in "py,py24,py25,py26,py27,py30,py31,py32,py33,py34".split(","):
     if _name == "py":
         basepython = sys.executable

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.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to