source: python/tests/test_aubio.py @ a159628

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchsampleryinfft+
Last change on this file since a159628 was a159628, checked in by Paul Brossier <piem@piem.org>, 3 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.