History

python/tests/: use local import, create __init__.py

Paul Brossier committed 9 years ago

Commit a1bf01d1 parent d98f3c07 files · +8 −7Browse files

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

Unified · Split

python/tests/test_sink.py+1−1
@@ -4,7 +4,7 @@ from nose2 import main · 3 unmodified lines
44 from nose2.tools import params
55 from numpy.testing import TestCase
66 from aubio import fvec, source, sink
7−from utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path
7+from .utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path
88
99 list_of_sounds = list_all_sounds('sounds')
1010 samplerates = [0, 44100, 8000, 32000]

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