diff --git a/tests/integration/validate/test_validate_command.py b/tests/integration/validate/test_validate_command.py index 6f6eef8586..2c931e4be7 100644 --- a/tests/integration/validate/test_validate_command.py +++ b/tests/integration/validate/test_validate_command.py @@ -152,7 +152,7 @@ def test_lint_invalid_template(self): command_result = run_command(self.command_list(lint=True, template_file=template_path)) output = command_result.stdout.decode("utf-8") # Remove Windows Line Endings for comparison. - output.replace("\r", "") + output = output.replace("\r", "") warning_message = ( 'E0000 Duplicate found "HelloWorldFunction" (line 5)\n'