Update test_wave_parsing.py

Removed capture_output argument, it's too new
This commit is contained in:
Jamie Hardt
2019-01-01 12:15:17 -08:00
parent c3c3c12d38
commit bdb39684c7

View File

@@ -1,6 +1,7 @@
import os.path
import json
import subprocess
from subprocess import PIPE
from unittest import TestCase
@@ -13,7 +14,7 @@ def ffprobe(path):
arguments = [ FFPROBE , "-of", "json" , "-show_format", "-show_streams", path ]
process = subprocess.run(arguments, stdin=None, capture_output=True)
process = subprocess.run(arguments, stdin=None, stdout=PIPE, stderr=PIPE)
if process.returncode == 0:
return json.loads(process.stdout)