summaryrefslogtreecommitdiffstats
path: root/test/modules/http2/test_500_proxy.py
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2022-02-24 13:40:28 +0100
committerStefan Eissing <icing@apache.org>2022-02-24 13:40:28 +0100
commitae5794bde6790b9c3a31198887008b8caefaee62 (patch)
tree6a1f20b8324cc3268aeebe59c227b8e13d83c1d0 /test/modules/http2/test_500_proxy.py
parent *) test: latest plot twist in getting a new-enough cbindgen (diff)
downloadapache2-ae5794bde6790b9c3a31198887008b8caefaee62.tar.xz
apache2-ae5794bde6790b9c3a31198887008b8caefaee62.zip
*) 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
Diffstat (limited to '')
-rw-r--r--test/modules/http2/test_500_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/http2/test_500_proxy.py b/test/modules/http2/test_500_proxy.py
index e38cf3fdda..7240c39b27 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