source: python/tests/test_aubio.py @ 893e699

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
Last change on this file since 893e699 was fc144a5, checked in by Paul Brossier <piem@piem.org>, 5 years ago

[tests] avoid some imports, add missing main

  • Property mode set to 100755
File size: 386 bytes
Line 
1#! /usr/bin/env python
2
3from numpy.testing import TestCase
4
5class aubiomodule_test_case(TestCase):
6
7    def test_import(self):
8        """ try importing aubio """
9        import aubio
10
11    def test_version(self):
12        """ test aubio.version """
13        import aubio
14        self.assertEqual('0', aubio.version[0])
15
16if __name__ == '__main__':
17    from unittest import main
18    main()
Note: See TracBrowser for help on using the repository browser.