[tests] default to pytest in mfcc
authorPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 23:20:45 +0000 (00:20 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 23:20:45 +0000 (00:20 +0100)
python/tests/test_mfcc.py

index 28972b9..f62083a 100755 (executable)
@@ -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)