shithub: aubio

Download patch

ref: bee9445a8727214019c64febcb1ad443d389da9c
parent: 36ce209787c66802368bdf7f4c523a623565d06d
author: Paul Brossier <piem@piem.org>
date: Thu Nov 1 20:20:45 EDT 2018

[tests] default to pytest in mfcc

--- a/python/tests/test_mfcc.py
+++ b/python/tests/test_mfcc.py
@@ -106,5 +106,5 @@
         #print coeffs
 
 if __name__ == '__main__':
-    from unittest import main
-    main()
+    import sys, pytest
+    pytest.main(sys.argv)