Skip to content

Commit dff5232

Browse files
committed
nocover
1 parent 3730be8 commit dff5232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _update_current_test_var(
213213
# is not atomic or thread-safe, unlike e.g. popping from a builtin dict.
214214
try:
215215
os.environ.pop(var_name)
216-
except KeyError:
216+
except KeyError: # pragma: no cover # can be removed when #13768 is farther along
217217
pass
218218

219219

0 commit comments

Comments
 (0)