We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 388c934 + 2f2fa48 commit afaa6e3Copy full SHA for afaa6e3
tests/conftest.py
@@ -17,7 +17,6 @@
17
"""
18
19
import os
20
-import pipes
21
import shlex
22
import subprocess
23
import time
@@ -218,7 +217,7 @@ def reportinfo(self):
218
217
def repr_failure(self, excinfo):
219
err = excinfo.value
220
if isinstance(err, SystemExit):
221
- cmd = f'jupyter-repo2docker {" ".join(map(pipes.quote, self.args))}'
+ cmd = f'jupyter-repo2docker {" ".join(map(shlex.quote, self.args))}'
222
return f"{cmd} | exited with status={err.code}"
223
else:
224
return super().repr_failure(excinfo)
0 commit comments