Changeset bb63c19


Ignore:
Timestamp:
Nov 1, 2018, 10:03:02 PM (13 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, master
Children:
0bae15a
Parents:
40b2be2
Message:

[tests] move unittest import to main

Location:
python/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_slicing.py

    r40b2be2 rbb63c19  
    11#! /usr/bin/env python
    22
    3 from unittest import main
    43from numpy.testing import TestCase, assert_equal
    54from aubio import slice_source_at_stamps
     
    168167
    169168if __name__ == '__main__':
     169    from unittest import main
    170170    main()
  • python/tests/test_specdesc.py

    r40b2be2 rbb63c19  
    11#! /usr/bin/env python
    22
    3 from unittest import main
    43from numpy.testing import TestCase, assert_equal, assert_almost_equal
    54from numpy import random, arange, log, zeros
     
    230229
    231230if __name__ == '__main__':
     231    from unittest import main
    232232    main()
  • python/tests/test_zero_crossing_rate.py

    r40b2be2 rbb63c19  
    11#! /usr/bin/env python
    22
    3 from unittest import main
    43from numpy.testing import TestCase
    54from aubio import fvec, zero_crossing_rate
     
    4443
    4544if __name__ == '__main__':
     45    from unittest import main
    4646    main()
Note: See TracChangeset for help on using the changeset viewer.