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
|
@ -9,3 +9,4 @@ pyyaml
|
||||||
pesq
|
pesq
|
||||||
AMFM_decompy
|
AMFM_decompy
|
||||||
matplotlib
|
matplotlib
|
||||||
|
multiprocess
|
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
from genericpath import isfile
|
|
||||||
import os
|
import os
|
||||||
import multiprocessing
|
import multiprocess as multiprocessing
|
||||||
import random
|
import random
|
||||||
import subprocess
|
import subprocess
|
||||||
import argparse
|
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('--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"')
|
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():
|
def check_for_sox_in_path():
|
||||||
r = subprocess.run("sox -h", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
r = subprocess.run("sox -h", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||||
return r.returncode == 0
|
return r.returncode == 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue