Merge branch 'master' into feature/pytest
[aubio.git] / python / tests / test_aubio.py
1 #! /usr/bin/env python
2
3 from numpy.testing import TestCase
4
5 class 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
16 if __name__ == '__main__':
17     from unittest import main
18     main()