Skip to content

Commit d117f13

Browse files
committed
pipes.quote removed in Python 3.13
1 parent 7d3a09a commit d117f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111
import os
12-
import pipes
12+
import shlex
1313
import requests
1414
import time
1515

@@ -87,7 +87,7 @@ def reportinfo(self):
8787
def repr_failure(self, excinfo):
8888
err = excinfo.value
8989
if isinstance(err, SystemExit):
90-
cmd = "jupyter-repo2docker %s" % " ".join(map(pipes.quote, self.args))
90+
cmd = "jupyter-repo2docker %s" % " ".join(map(shlex.quote, self.args))
9191
return "%s | exited with status=%s" % (cmd, err.code)
9292
else:
9393
return super().repr_failure(excinfo)

0 commit comments

Comments
 (0)