From: Stefan Eissing Date: Thu, 30 Mar 2023 09:20:24 +0000 (+0200) Subject: tests/http: fix log formatting on wrong exit code X-Git-Tag: curl-8_1_0~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f010e469180215844df0723b70334c6945fac1;p=thirdparty%2Fcurl.git tests/http: fix log formatting on wrong exit code Closes #10868 --- diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index 22a8ffb6eb..98c1bd4ab8 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -162,7 +162,7 @@ class ExecResult: def check_exit_code(self, code: int): assert self.exit_code == code, \ f'expected exit code {code}, '\ - 'got {self.exit_code}\n{self._dump_logs()}' + f'got {self.exit_code}\n{self._dump_logs()}' def check_exit_code_not(self, code: int): assert self.exit_code != code, \