forked from pool/python-mutagen
- Update to version 1.39:
* Tests:
* Require hypothesis
* Run pycodestyle/pyflakes tests by default. Skip with --no-quality or
-m no quality when using pytest directly.
* Python 3.3 is no longer supported
* MP3: Improved bitrate accuracy for files with XING header
* ASF: Fix case where some tags resulted in broken ASFUnicodeAttribute
instances
* Add support for filesystems which don’t support opening files read/write
(gvfs over fuse for example)
* mid3v2: Add support for USLT
* Other minor improvements
- Update to version 1.38:
* ID3:
* Add iTunes grouping frame id3.GRP1
* Fix exposing text frames where the text can’t be encoded with
the reported encoding due to merging of frames
* OGG: Fix wrong StreamInfo.length (small negative value) for all
ogg based formats in rare cases.
- Rebased the reduce-test-length.diff patch.
- Added the hypothesis, pycodestyle and pyflakes python modules to the
BuildRequires, since they are needed for the tests.
OBS-URL: https://build.opensuse.org/request/show/540486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mutagen?expand=0&rev=30
14 lines
528 B
Diff
14 lines
528 B
Diff
Index: mutagen-1.39/tests/test___init__.py
|
|
===================================================================
|
|
--- mutagen-1.39.orig/tests/test___init__.py
|
|
+++ mutagen-1.39/tests/test___init__.py
|
|
@@ -278,7 +278,7 @@ def generate_test_file_objects(fileobj,
|
|
def strategy(draw):
|
|
|
|
stop_strat = integers(
|
|
- min_value=0, max_value=t.dataread).map(
|
|
+ min_value=0, max_value=min(t.dataread, 10)).map(
|
|
lambda i: _TestFileObj(fileobj, stop_after=i))
|
|
|
|
fail_strat = integers(
|