6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-02-02 02:40:42 +01:00

Fix problem with service encoding - v0.13.1

This commit is contained in:
Pavel Císař 2022-05-10 11:27:43 +02:00
parent 7396be2b92
commit f56b0ac8f2
2 changed files with 2 additions and 3 deletions

View File

@ -1045,8 +1045,7 @@ def trace_thread(act: Action, b: Barrier, cfg: List[str], output: List[str], kee
encoding: Encoding for trace session output.
encoding_errors: Error handler for trace session output encoding.
"""
with act.connect_server() as srv:
srv.encoding = encoding
with act.connect_server(encoding=encoding) as srv:
output.append(srv.trace.start(config='\n'.join(cfg)))
b.wait()
for line in srv:

View File

@ -5,7 +5,7 @@ all-files=True
[metadata]
name = firebird-qa
version = 0.13.0
version = 0.13.1
description = pytest plugin for Firebird QA
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8