From: Paul Brossier Date: Thu, 1 Nov 2018 23:20:45 +0000 (+0100) Subject: [tests] default to pytest in mfcc X-Git-Tag: 0.4.9~71^2~35 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=bee9445a8727214019c64febcb1ad443d389da9c;p=aubio.git [tests] default to pytest in mfcc --- 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)