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