You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2022/02/24 12:40:28 UTC

svn commit: r1898373 - /httpd/httpd/trunk/test/modules/http2/test_500_proxy.py

Author: icing
Date: Thu Feb 24 12:40:28 2022
New Revision: 1898373

URL: http://svn.apache.org/viewvc?rev=1898373&view=rev
Log:
  *) test/modules/http2. convert bytes to string before
     writing output of a failed transfer to file.


Modified:
    httpd/httpd/trunk/test/modules/http2/test_500_proxy.py

Modified: httpd/httpd/trunk/test/modules/http2/test_500_proxy.py
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/modules/http2/test_500_proxy.py?rev=1898373&r1=1898372&r2=1898373&view=diff
==============================================================================
--- httpd/httpd/trunk/test/modules/http2/test_500_proxy.py (original)
+++ httpd/httpd/trunk/test/modules/http2/test_500_proxy.py Thu Feb 24 12:40:28 2022
@@ -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