diff options
| author | Adam Hupp <adam@hupp.org> | 2017-10-01 20:52:48 -0700 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2017-10-01 20:52:48 -0700 |
| commit | 9d127ceaab1da0632128422ffd6a2d340bd3e778 (patch) | |
| tree | 9f55cf5a360f4e74135c844b2a736521146cf52b | |
| parent | 8be47895bc108394c76badd74c0f681f6d5da63e (diff) | |
| download | python-magic-9d127ceaab1da0632128422ffd6a2d340bd3e778.tar.gz | |
update filetype reported by libmagic >=5.23 for keep_going=true
| -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 59298a1..6ae5c07 100755 --- a/test/test.py +++ b/test/test.py @@ -87,7 +87,7 @@ class MagicTest(unittest.TestCase): self.assertEqual(m.from_file(filename), 'image/jpeg') m = magic.Magic(mime=True, keep_going=True) - self.assertEqual(m.from_file(filename), 'image/jpeg') + self.assertEqual(m.from_file(filename), 'image/jpeg\\012- application/octet-stream') def test_rethrow(self): |
