replaces multiprocessing module by multiprocess module in testsuite

This commit is contained in:
Jan Buethe 2023-07-22 14:45:43 -07:00
parent 81fe5f0261
commit 0763a8f785
No known key found for this signature in database
GPG key ID: 9E32027A35B36314
2 changed files with 3 additions and 5 deletions

View file

@ -8,4 +8,5 @@ soundfile
pyyaml
pesq
AMFM_decompy
matplotlib
matplotlib
multiprocess

View file

@ -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