feature/crepe_org
Last change
on this file since b0b167a 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:
342 bytes
|
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | |
---|
3 | import aubio.cut |
---|
4 | from numpy.testing import TestCase |
---|
5 | |
---|
6 | class aubio_cut(TestCase): |
---|
7 | |
---|
8 | def setUp(self): |
---|
9 | self.a_parser = aubio.cut.aubio_cut_parser() |
---|
10 | |
---|
11 | def test_default_creation(self): |
---|
12 | assert self.a_parser.parse_args(['-v']).verbose |
---|
13 | |
---|
14 | if __name__ == '__main__': |
---|
15 | from unittest import main |
---|
16 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.