summaryrefslogtreecommitdiff
path: root/test/test.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2017-10-14 11:25:28 +0300
committerHugo <hugovk@users.noreply.github.com>2017-10-14 11:25:28 +0300
commitc45ae3f04394dd190a97f12b350d97a50ec9a5ce (patch)
treec9855c23e161ca987094e010c65b54d8f7364db9 /test/test.py
parent5f7c67d81d7665852cd54318a56cfb8c81198f4d (diff)
downloadpython-magic-c45ae3f04394dd190a97f12b350d97a50ec9a5ce.tar.gz
Revert "update filetype reported by libmagic >=5.23 for keep_going=true"
This reverts commit 9d127ceaab1da0632128422ffd6a2d340bd3e778.
Diffstat (limited to 'test/test.py')
-rwxr-xr-xtest/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 6ae5c07..59298a1 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\\012- application/octet-stream')
+ self.assertEqual(m.from_file(filename), 'image/jpeg')
def test_rethrow(self):