diff --git a/tox/interpreters.py b/tox/interpreters.py index 029046d1fd..c13a503389 100644 --- a/tox/interpreters.py +++ b/tox/interpreters.py @@ -148,7 +148,7 @@ def tox_get_python_executable(envconfig): m = re.match(r"python(\d)\.(\d)", name) if m: # The standard names are in predictable places. - actual = r"c:\python{}{}\python.exe".format(m.groups()) + actual = r"c:\python{}{}\python.exe".format(*m.groups()) if not actual: actual = win32map.get(name, None) if actual: diff --git a/tox/venv.py b/tox/venv.py index 6bcbeadf8d..22695d9f76 100755 --- a/tox/venv.py +++ b/tox/venv.py @@ -25,7 +25,7 @@ def writeconfig(self, path): lines = [ "{} {}".format(self.md5, self.python), "{} {:d} {:d} {:d}".format( - self.version, self.sitepackages, self.usedevelop, self.alwayscopyf + self.version, self.sitepackages, self.usedevelop, self.alwayscopy ), ] for dep in self.deps: