History

[tests] capture warnings from filterbank_mel, improve coverage

Paul Brossier committed 8 years ago

Commit 67024ff1 parent 5af36fa2 files · +37 −3Browse files

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

Unified · Split

python/tests/test_source.py+1−1
@@ -69,7 +69,7 @@ class Test_aubio_source_read: · 68 unmodified lines
69 read_frames = self.read_from_source(f)69 read_frames = self.read_from_source(f)
70 if 'f_' in soundfile and samplerate == 0:70 if 'f_' in soundfile and samplerate == 0:
71 import re71 import re
72 f = re.compile('.*_\([0:9]*f\)_.*')72 f = re.compile(r'.*_\([0:9]*f\)_.*')
73 match_f = re.findall('([0-9]*)f_', soundfile)73 match_f = re.findall('([0-9]*)f_', soundfile)
74 if len(match_f) == 1:74 if len(match_f) == 1:
75 expected_frames = int(match_f[0])75 expected_frames = int(match_f[0])

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