projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00fcc5d
)
[tests] use pytest in parametrized tests
author
Paul Brossier
<piem@piem.org>
Fri, 2 Nov 2018 19:33:34 +0000
(20:33 +0100)
committer
Paul Brossier
<piem@piem.org>
Fri, 2 Nov 2018 19:33:34 +0000
(20:33 +0100)
python/tests/test_midi2note.py
patch
|
blob
|
history
diff --git
a/python/tests/test_midi2note.py
b/python/tests/test_midi2note.py
index
a81f502
..
f71a9e1
100755
(executable)
--- a/
python/tests/test_midi2note.py
+++ b/
python/tests/test_midi2note.py
@@
-40,5
+40,5
@@
class Test_midi2note_wrong_values:
assert_raises(TypeError, midi2note, "a")
if __name__ == '__main__':
- from unittest import main
-
main(
)
+ import sys, pytest
+
pytest.main(sys.argv
)