summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2022-02-24 12:40:28 +0000
committerStefan Eissing <icing@apache.org>2022-02-24 12:40:28 +0000
commitae5794bde6790b9c3a31198887008b8caefaee62 (patch)
tree6a1f20b8324cc3268aeebe59c227b8e13d83c1d0 /test
parent8fbfffd8625d9af1501c8ec7a7d7af812a2e1e83 (diff)
downloadhttpd-ae5794bde6790b9c3a31198887008b8caefaee62.tar.gz
*) 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 'test')
-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