[py] [style] improve setup.py
[aubio.git] / python / tests / test_aubio.py
1 #! /usr/bin/env python
2
3 from unittest import main
4 from numpy.testing import TestCase
5
6 class 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
17 if __name__ == '__main__':
18     main()
19