diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-26 17:04:38 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-27 09:48:06 +0200 |
| commit | bdcc883a5a088a8ede3f01d83cf565713a8ad5f7 (patch) | |
| tree | f39efd19c00f2f8ed3c3182b98fda7f41c74132e /sources/pyside6/tests/QtQml/connect_python_qml.py | |
| parent | 3dc9ee1b1bea5b39b2997b214c99f5cc9b827ab7 (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'
Pick-to: 6.0
Change-Id: I5a0b5d0f76c4245fc7209d17a6c7f1e664cbc04f
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtQml/connect_python_qml.py')
0 files changed, 0 insertions, 0 deletions
