History

python/tests/test_source.py: fix format for python3

Paul Brossier committed 10 years ago

Commit 355c7611 parent 5f5f8431 file · +1 −1Browse files

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

Unified · Split

python/tests/test_source.py+1−1
@@ -59,7 +59,7 @@ class aubio_source_read_test_case(aubio_source_test_case_base): · 58 unmodified lines
59 try:59 try:
60 f = source(soundfile, samplerate, hop_size)60 f = source(soundfile, samplerate, hop_size)
61 except RuntimeError as e:61 except RuntimeError as e:
62 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, e))62 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, str(e)))
63 assert f.samplerate != 063 assert f.samplerate != 0
64 self.read_from_source(f)64 self.read_from_source(f)
65 65

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