Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -59,7 +59,7 @@ class aubio_source_read_test_case(aubio_source_test_case_base): · 58 unmodified lines | ||
| 59 | 59 | try: |
| 60 | 60 | f = source(soundfile, samplerate, hop_size) |
| 61 | 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 | 63 | assert f.samplerate != 0 |
| 64 | 64 | self.read_from_source(f) |
| 65 | 65 | |