Skip to content

Commit

Permalink
Fix DeprecationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fcampbell committed Sep 20, 2024
1 parent 05a6689 commit 8015022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def assert_that_result_is_usage_error(
result: CommandResult, expected_error_message: str
) -> None:
assert result.output is not None
result_output = re.sub("\s*││\s*", " ", result.output.replace("\n", "")) # type: ignore
result_output = re.sub(r"\s*││\s*", " ", result.output.replace("\n", "")) # type: ignore
assert result.exit_code == 2, result.output
assert expected_error_message in result_output, result.output

Expand Down

0 comments on commit 8015022

Please sign in to comment.