replaces multiprocessing module by multiprocess module in testsuite
This commit is contained in:
parent
81fe5f0261
commit
0763a8f785
2 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
|||
|
||||
from genericpath import isfile
|
||||
import os
|
||||
import multiprocessing
|
||||
import multiprocess as multiprocessing
|
||||
import random
|
||||
import subprocess
|
||||
import argparse
|
||||
|
@ -26,7 +24,6 @@ parser.add_argument('--num-workers', type=int, help="number of subprocesses to b
|
|||
parser.add_argument('--plc-suffix', type=str, default="_is_lost.txt", help="suffix of plc error pattern file: only relevant if command chain uses PLCFILE (default=_is_lost.txt)")
|
||||
parser.add_argument('--metrics', type=str, default='warpq', help='comma separated string of metrics, supported: {{"warpq", "pesq"}}, default="warpq"')
|
||||
|
||||
|
||||
def check_for_sox_in_path():
|
||||
r = subprocess.run("sox -h", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
return r.returncode == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue