History

[tests] use pytest in parametrized tests

Paul Brossier committed 8 years ago

Commit 5af36fa1 parent 00fcc5d1 file · +2 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/test_midi2note.py+2−2
@@ -40,5 +40,5 @@ class Test_midi2note_wrong_values: · 39 unmodified lines
40 assert_raises(TypeError, midi2note, "a")40 assert_raises(TypeError, midi2note, "a")
41 41
42if __name__ == '__main__':42if __name__ == '__main__':
43 from unittest import main43 import sys, pytest
44 main()44 pytest.main(sys.argv)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t