diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-26 17:04:38 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-27 10:51:53 +0000 |
| commit | 99c606d9d2e70a4107f0a21441aaf57ed364ea60 (patch) | |
| tree | 1f55babd85a97d7f9d4aa1e8b77359124688f6d2 /examples/scriptableapplication/pythonutils.cpp | |
| parent | 19f7377feb661a1a7dc1fe5a1ffd3305702618a4 (diff) | |
PySide6: Fix the test HTTP server
Change the test data to be a bytearray, fixing:
File "sources/pyside6/tests/util/httpd.py", line 47, in do_GET
self.wfile.write(TestHandler.DATA)
File "/usr/lib/python3.8/socketserver.py", line 799, in write
self._sock.sendall(b)
TypeError: a bytes-like object is required, not 'str'
Change-Id: I5a0b5d0f76c4245fc7209d17a6c7f1e664cbc04f
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit bdcc883a5a088a8ede3f01d83cf565713a8ad5f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions
