mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
No shlex.join on python 3.7
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
import collections
|
||||
import json
|
||||
import os
|
||||
import shlex
|
||||
import string
|
||||
import subprocess
|
||||
import tempfile
|
||||
@@ -328,7 +327,7 @@ class BaseKubernetesIntegrationTestCase(BaseJobEnvironmentIntegrationTestCase, M
|
||||
p = subprocess.run(log_cmd, capture_output=True, text=True)
|
||||
if p.returncode:
|
||||
raise Exception(
|
||||
f"Command '{shlex.join(log_cmd)}' failed with exit code: {p.returncode}.\nstdout: {p.stdout}\nstderr: {p.stderr}"
|
||||
f"Command '{' '.join(log_cmd)}' failed with exit code: {p.returncode}.\nstdout: {p.stdout}\nstderr: {p.stderr}"
|
||||
)
|
||||
output = p.stdout
|
||||
EXPECTED_STDOUT = "The bool is not true"
|
||||
|
||||
Reference in New Issue
Block a user