diff options
author | Martin Liska <mliska@suse.cz> | 2021-10-22 09:47:32 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-10-22 09:50:36 +0200 |
commit | 0ae7e7ceac0e80e03adc75c858bb378c0427331a (patch) | |
tree | 4727c9fdf8a16979668988e9fc7dfc8b53a68e56 | |
parent | 7f7542fcbc192fef6e4939f4eb748e941a720b2c (diff) | |
download | python-magic-0ae7e7ceac0e80e03adc75c858bb378c0427331a.tar.gz |
Support file 5.41.
In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7,
the MIME was changed for Python bytecode.
-rwxr-xr-x | test/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py index 0c4621c..e443b84 100755 --- a/test/test.py +++ b/test/test.py @@ -90,7 +90,7 @@ class MagicTest(unittest.TestCase): try: m = magic.Magic(mime=True) self.assert_values(m, { - 'magic._pyc_': ('application/octet-stream', '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', |