From 14a5369a36aa32e5ea8485ebefa0242ac1cf4983 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 9 Dec 2023 12:05:46 +0100 Subject: [PATCH] fixup --- pytest_abra/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_abra/runner.py b/pytest_abra/runner.py index b2f83ff..1e310ca 100644 --- a/pytest_abra/runner.py +++ b/pytest_abra/runner.py @@ -164,7 +164,7 @@ class Runner: # command_arguments.append("on") # Disable capturing. With -s set, prints will go to console as if pytest is not there. - if os.environ["PWDEBUG"] == "1": + if os.environ.get("PWDEBUG") == "1": command_arguments.append("-s") # headed