File: 0001_Testsuite_Failure.patch

package info (click to toggle)
python-mediafile 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,420 kB
  • sloc: python: 2,496; makefile: 196; sh: 8
file content (18 lines) | stat: -rw-r--r-- 751 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The testsuite needs to be patched since we build with a recent version of
Mutagen and this test was written for an older one, where bit depths on WavPack
wasn't supported.
This is fixed upstream, but hasn't been released yet:
https://github.com/beetbox/mediafile/commit/d2fc3b59f77c515b02dfe7ad936f89264375d2b4
Index: python-mediafile/test/test_mediafile.py
===================================================================
--- python-mediafile.orig/test/test_mediafile.py
+++ python-mediafile/test/test_mediafile.py
@@ -907,7 +907,7 @@ class WavpackTest(ReadWriteTestBase, uni
         'bitrate': 109312,
         'format': u'WavPack',
         'samplerate': 44100,
-        'bitdepth': 0,
+        'bitdepth': 16,
         'channels': 1,
     }