forked from pool/python-python-magic
Accepting request 885992 from home:WernerFink:branches:devel:languages:python
- Add patch fix-4-file-5.40.patch to support file 5.40 (boo#1184881) OBS-URL: https://build.opensuse.org/request/show/885992 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=15
This commit is contained in:
15
fix-4-file-5.40.patch
Normal file
15
fix-4-file-5.40.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
test/test.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- test/test.py
|
||||
+++ test/test.py 2021-04-16 12:54:00.275731435 +0000
|
||||
@@ -87,7 +87,7 @@ class MagicTest(unittest.TestCase):
|
||||
try:
|
||||
self.assert_values(m, {
|
||||
'magic._pyc_': 'python 2.4 byte-compiled',
|
||||
- 'test.pdf': 'PDF document, version 1.2',
|
||||
+ 'test.pdf': 'PDF document, version 1.2, 2 pages',
|
||||
'test.gz':
|
||||
('gzip compressed data, was "test", from Unix, last '
|
||||
'modified: Sun Jun 29 01:32:52 2008',
|
Reference in New Issue
Block a user