summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2017-10-01 20:52:48 -0700
committerAdam Hupp <adam@hupp.org>2017-10-01 20:52:48 -0700
commit9d127ceaab1da0632128422ffd6a2d340bd3e778 (patch)
tree9f55cf5a360f4e74135c844b2a736521146cf52b
parent8be47895bc108394c76badd74c0f681f6d5da63e (diff)
downloadpython-magic-9d127ceaab1da0632128422ffd6a2d340bd3e778.tar.gz
update filetype reported by libmagic >=5.23 for keep_going=true
-rwxr-xr-xtest/test.py2
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):