Skip to content
Snippets Groups Projects
Unverified Commit 0763a8f7 authored by Jan Buethe's avatar Jan Buethe
Browse files

replaces multiprocessing module by multiprocess module in testsuite

parent 81fe5f02
No related branches found
No related tags found
No related merge requests found
Pipeline #3980 passed
......@@ -8,4 +8,5 @@ soundfile
pyyaml
pesq
AMFM_decompy
matplotlib
\ No newline at end of file
matplotlib
multiprocess
\ No newline at end of file
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment