source: python/tests/test_aubio.py @ 0a8f63f

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 0a8f63f 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
RevLine 
[75e715f]1#! /usr/bin/env python
[1ebf8770]2
[0b6d23d]3from unittest import main
4from numpy.testing import TestCase
[ae6e15c]5
[146280a]6class aubiomodule_test_case(TestCase):
[ae6e15c]7
[0b6d23d]8    def test_import(self):
9        """ try importing aubio """
10        import aubio
[146280a]11
[a159628]12    def test_version(self):
13        """ test aubio.version """
14        import aubio
15        self.assertEqual('0', aubio.version[0])
16
[ae6e15c]17if __name__ == '__main__':
[0b6d23d]18    main()
[146280a]19
Note: See TracBrowser for help on using the repository browser.