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 dff5232 commit fc96131Copy full SHA for fc96131
src/_pytest/runner.py
@@ -213,7 +213,9 @@ def _update_current_test_var(
213
# is not atomic or thread-safe, unlike e.g. popping from a builtin dict.
214
try:
215
os.environ.pop(var_name)
216
- except KeyError: # pragma: no cover # can be removed when #13768 is farther along
+ except (
217
+ KeyError
218
+ ): # pragma: no cover # can be removed when #13768 is farther along
219
pass
220
221
0 commit comments