From: Paul Brossier Date: Sat, 30 Apr 2016 14:27:10 +0000 (+0200) Subject: python/tests/test_source.py: fix format for python3 X-Git-Tag: 0.4.4~300^2~154 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=355c761d828d0931af87fed503780e726f7b22bc;p=aubio.git python/tests/test_source.py: fix format for python3 --- diff --git a/python/tests/test_source.py b/python/tests/test_source.py index 208897be..3358d341 100755 --- a/python/tests/test_source.py +++ b/python/tests/test_source.py @@ -59,7 +59,7 @@ class aubio_source_read_test_case(aubio_source_test_case_base): try: f = source(soundfile, samplerate, hop_size) except RuntimeError as e: - self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, e)) + self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, str(e))) assert f.samplerate != 0 self.read_from_source(f)