14
0

Accepting request 926913 from home:marxin:branches:devel:languages:python

- Add fix-support-file-5.41.patch to support file 5.41.

OBS-URL: https://build.opensuse.org/request/show/926913
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=17
This commit is contained in:
2021-10-22 10:05:08 +00:00
committed by Git OBS Bridge
parent b174768aad
commit 0f1369b1e7
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/test/test.py b/test/test.py
index 8ea9138..968f904 100755
--- a/test/test.py
+++ b/test/test.py
@@ -70,7 +70,7 @@ class MagicTest(unittest.TestCase):
try:
m = magic.Magic(mime=True)
self.assert_values(m, {
- 'magic._pyc_': 'text/x-bytecode.python',
+ 'magic._pyc_': ('application/octet-stream', 'text/x-bytecode.python', 'application/x-bytecode.python'),
'test.pdf': 'application/pdf',
'test.gz': ('application/gzip', 'application/x-gzip'),
'test.snappy.parquet': 'application/octet-stream',