Changeset: b0a8f0dd22ec for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b0a8f0dd22ec Modified Files: tools/merovingian/client/Tests/monetdb_snapshot.py Branch: Jul2021 Log Message:
Module pipes is deprecated in Python 3.11, use shlex instead. diffs (21 lines): diff --git a/tools/merovingian/client/Tests/monetdb_snapshot.py b/tools/merovingian/client/Tests/monetdb_snapshot.py --- a/tools/merovingian/client/Tests/monetdb_snapshot.py +++ b/tools/merovingian/client/Tests/monetdb_snapshot.py @@ -2,7 +2,7 @@ import locale import os -import pipes +import shlex import re import subprocess import sys @@ -97,7 +97,7 @@ with Runner(False) as run: header('CUSTOM FILENAME') custom_name = os.path.join(m.snapdir, 'snap.tar') - qcustom_name = pipes.quote(custom_name) + qcustom_name = shlex.quote(custom_name) m.run_monetdb('snapshot', 'create', '-t', qcustom_name, 'foo1') assert os.path.exists(custom_name) note("""os.path.exists(custom_name)""") _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org