diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2017-10-14 11:25:28 +0300 |
|---|---|---|
| committer | Hugo <hugovk@users.noreply.github.com> | 2017-10-14 11:25:28 +0300 |
| commit | c45ae3f04394dd190a97f12b350d97a50ec9a5ce (patch) | |
| tree | c9855c23e161ca987094e010c65b54d8f7364db9 /test/test.py | |
| parent | 5f7c67d81d7665852cd54318a56cfb8c81198f4d (diff) | |
| download | python-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-x | test/test.py | 2 |
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): |
