File: 2022-12-23.adjust-for-5.43.patch

package info (click to toggle)
python-magic 2%3A0.4.26-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,016 kB
  • sloc: python: 709; sh: 13; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Adjust for changes in file 5.43+
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: 2022-12-23
Forwarded: https://github.com/ahupp/python-magic/issues/283

--- a/test/python_magic_test.py
+++ b/test/python_magic_test.py
@@ -134,7 +134,7 @@
             self.assert_values(m, {
                 # some versions return '' for the extensions of a gz file,
                 # including w/ the command line.  Who knows...
-                'test.gz': ('gz/tgz/tpz/zabw/svgz', '', '???'),
+                'test.gz': ('gz/tgz/tpz/zabw/svgz/adz/kmy/xcfgz', 'gz/tgz/tpz/zabw/svgz', '', '???'),
                 'name_use.jpg': 'jpeg/jpg/jpe/jfif',
             })
         except NotImplementedError: