From: Stefan Eissing Date: Thu, 24 Feb 2022 12:40:28 +0000 (+0000) Subject: *) test/modules/http2. convert bytes to string before X-Git-Tag: 2.5.0-alpha2-ci-test-only~474 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5794bde6790b9c3a31198887008b8caefaee62;p=thirdparty%2Fapache%2Fhttpd.git *) test/modules/http2. convert bytes to string before writing output of a failed transfer to file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898373 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/modules/http2/test_500_proxy.py b/test/modules/http2/test_500_proxy.py index e38cf3fdda9..7240c39b272 100644 --- a/test/modules/http2/test_500_proxy.py +++ b/test/modules/http2/test_500_proxy.py @@ -65,7 +65,7 @@ class TestProxy: src = file.read() if r.response["body"] != src: with open(os.path.join(env.gen_dir, "nghttp.out"), 'w') as fd: - fd.write(r.outraw) + fd.write(r.outraw.decode()) fd.write("\nstderr:\n") fd.write(r.stderr) assert r.response["body"] == src