summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2013-10-07 21:28:16 -0700
committerAdam Hupp <adam@hupp.org>2013-10-07 21:28:16 -0700
commit4942310344701c0eb0fd55a16ab4583fd5b2dc63 (patch)
treedc3859794289c8bdb8b25c9aed96d29d1347af79 /setup.py
parent998677aa225ba0dbcb8a89c0fa8e312f38b8be65 (diff)
downloadpython-magic-4942310344701c0eb0fd55a16ab4583fd5b2dc63.tar.gz
Fix failure on file-5.15. That has a bug and/or change in behvior
where the first call to magic_load results in magic_error returning a string even though there was no error. Fixed by being more precise about checking the return values (either nul or -1 depending on function) rather than relying on magic_error.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 856e77b..ff9a984 100644
--- a/setup.py
+++ b/setup.py
@@ -14,4 +14,5 @@ supports both textual and MIME-type output.
""",
keywords="mime magic file",
license="PSF",
+ test_suite='test'
)