source: python/tests/test_aubio.py @ 3a6a7766

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 3a6a7766 was a159628, checked in by Paul Brossier <piem@piem.org>, 8 years ago

python/ext/aubiomodule.c: more hack to avoid msvc issues

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