feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
Last change
on this file since c1ba75b was
fc144a5,
checked in by Paul Brossier <piem@piem.org>, 6 years ago
|
[tests] avoid some imports, add missing main
|
-
Property mode set to
100755
|
File size:
386 bytes
|
Line | |
---|
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() |
---|
Note: See
TracBrowser
for help on using the repository browser.