Commits

holger krekel committed 3b24be3

fix a test that failed due to a recent merge - i'd really
like a way to ensure test are passing before merging a pull request ...

Comments (0)

Files changed (2)

             indexserver =
                 xyz = xyz_repo
             [testenv:py1]
-            basepython=xyz
             deps=hello
             [testenv:py2]
-            basepython=hello
             deps=
                 world1
                 :xyz:http://hello/world
         assert config.toxworkdir == tmpdir
         assert len(config.envconfigs) == 2
         assert config.envconfigs['py1'].envdir == tmpdir.join("py1")
-        assert config.envconfigs['py1'].basepython == "xyz"
         dep = config.envconfigs['py1'].deps[0]
         assert dep.name == "hello"
         assert dep.indexserver is None
-        assert config.envconfigs['py2'].basepython == "hello"
         assert config.envconfigs['py2'].envdir == tmpdir.join("py2")
         dep1, dep2 = config.envconfigs['py2'].deps
         assert dep1.name == "world1"
 def pytest_report_header():
     return "tox comes from: %r" % (tox.__file__)
 
-def pytest_funcarg__newconfig(request):
-    tmpdir = request.getfuncargvalue("tmpdir")
+def pytest_funcarg__newconfig(request, tmpdir):
     def newconfig(args, source=None):
         if source is None:
             source = args