diff --git a/tests/tsa_server.py b/tests/tsa_server.py index a1c3b39..b8da5aa 100644 --- a/tests/tsa_server.py +++ b/tests/tsa_server.py @@ -133,7 +133,7 @@ def main() -> None: hostname, port = server.start_server() program.append(f"{hostname}:{port}") try: - osslsigncode = subprocess.run(program, check=True, text=True) + osslsigncode = subprocess.run(program, check=True, universal_newlines=True) osslsigncode.check_returncode() except subprocess.CalledProcessError as err: ret = err.returncode