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/eval_pitch (1 of 7 files). Show all

Unified · Split

python/tests/eval_pitch+1−1
@@ -24,7 +24,7 @@ import sys · 23 unmodified lines
2424 import time
2525 import os.path
2626 import numpy
27−from utils import array_from_text_file, array_from_yaml_file
27+from .utils import array_from_text_file, array_from_yaml_file
2828 from aubio import source, pitch, freqtomidi
2929
3030 start = time.time()

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