Ignore:
Timestamp:
Nov 1, 2018, 2:53:33 AM (21 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, master
Children:
40b2be2
Parents:
48a0e5a
Message:

[tests] avoid some imports, move main to end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_onset.py

    r48a0e5a r319edae  
    11#! /usr/bin/env python
    22
    3 from unittest import main
    43from numpy.testing import TestCase, assert_equal, assert_almost_equal
    54from aubio import onset
     
    8584
    8685if __name__ == '__main__':
     86    from unittest import main
    8787    main()
Note: See TracChangeset for help on using the changeset viewer.