shithub: aubio

Download patch

ref: 355c761d828d0931af87fed503780e726f7b22bc
parent: 5f5f8435545f51186eb80929c9a4d9b48317a62b
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 12:27:10 EDT 2016

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

--- a/python/tests/test_source.py
+++ b/python/tests/test_source.py
@@ -59,7 +59,7 @@
         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)