Changeset: 77cf6936ff2d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/77cf6936ff2d Modified Files: sql/odbc/tests/Tests/ODBCconnect.py Branch: Aug2024 Log Message:
Python 3.6 doesn't support subprocess.Popen(capture_output=) diffs (14 lines): diff --git a/sql/odbc/tests/Tests/ODBCconnect.py b/sql/odbc/tests/Tests/ODBCconnect.py --- a/sql/odbc/tests/Tests/ODBCconnect.py +++ b/sql/odbc/tests/Tests/ODBCconnect.py @@ -22,7 +22,9 @@ class Execution: def __init__(self, *odbcconnect_args): cmd = self.cmd = ['odbcconnect', *odbcconnect_args] proc = self.proc = subprocess.run( - cmd, capture_output=True, encoding='utf-8') + cmd, + stderr=subprocess.PIPE, stdout=subprocess.PIPE, + encoding='utf-8') self.expected_exitcode = 0 self.remaining = proc.stdout.splitlines() self.checks = [] _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org