diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/driver/testlib.py | 4 | ||||
-rw-r--r-- | testsuite/driver/testutil.py | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index fec6939168..1d3ef11cfd 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -2283,7 +2283,3 @@ def getStdout(cmd): return stdout else: raise Exception("Need subprocess to get stdout, but don't have it") - -def strip_quotes(s): - # Don't wrap commands to subprocess.call/Popen in quotes. - return s.strip('\'"') diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index ec45e93987..2cfa8f12bd 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -15,3 +15,6 @@ def version_gt(x, y): def version_ge(x, y): return version_to_ints(x) >= version_to_ints(y) +def strip_quotes(s): + # Don't wrap commands to subprocess.call/Popen in quotes. + return s.strip('\'"') |