Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Jan 21, 2025
1 parent d9b0d7d commit 7b28341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/execute/local_subprocess/test_local_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_local_execute_basic_pass( # noqa: PLR0913
out_got, err_got = out_err.read_out_err()
if show:
assert out_got == out
expected = f"{Fore.__dict__[stderr_color]}{err}{Fore.RESET}" if color and err else err
expected = f"{getattr(Fore, stderr_color)}{err}{Fore.RESET}" if color and err else err
assert err_got == expected
else:
assert not out_got
Expand Down

0 comments on commit 7b28341

Please sign in to comment.