We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f892e83 commit 7fdd156Copy full SHA for 7fdd156
src/tox/tox_env/package.py
@@ -98,6 +98,7 @@ def mark_active_run_env(self, run_env: RunToxEnv) -> None:
98
99
def teardown_env(self, conf: EnvConfigSet) -> None:
100
if conf.name in self._envs:
101
+ # conf.name (".tox") may be missing in self._envs in the case of an automatically provisioned environment
102
self._envs.remove(conf.name)
103
if len(self._envs) == 0:
104
self._teardown()
0 commit comments