History

[tests] use run_module_suite so tests can run when pytest is not installed

Paul Brossier committed 8 years ago

Commit 7fd92ca1 parent 8607a746 files · +14 −10Browse files

Showing the changes to python/tests/test_source.py (1 of 6 files). Show all

Unified · Split

python/tests/test_source.py+2−2
@@ -187,5 +187,5 @@ class Test_aubio_source_with(object): · 186 unmodified lines
187187 assert_equal(total_frames, input_source.duration)
188188
189189 if __name__ == '__main__':
190− import sys, pytest
191− pytest.main(sys.argv)
190+ from _tools import run_module_suite
191+ run_module_suite()

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