From bee9445a8727214019c64febcb1ad443d389da9c Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 2 Nov 2018 00:20:45 +0100 Subject: [PATCH] [tests] default to pytest in mfcc --- python/tests/test_mfcc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_mfcc.py b/python/tests/test_mfcc.py index 28972b94..f62083a0 100755 --- a/python/tests/test_mfcc.py +++ b/python/tests/test_mfcc.py @@ -106,5 +106,5 @@ class Test_aubio_mfcc_all_parameters: #print coeffs if __name__ == '__main__': - from unittest import main - main() + import sys, pytest + pytest.main(sys.argv) -- 2.11.0