summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Allow x-gzip as MIME type for gzip files, fixes #96Louis Sautier2018-08-131-1/+1
|/
* Remove Python 2.6Hugo2018-03-191-2/+0
|
* Bring "from_file()" under testGuido A.J. Stevens2018-01-251-0/+6
|
* PEP8Guido A.J. Stevens2018-01-251-11/+18
|
* fix test for xenial since travis started enabling itAdam Hupp2017-12-091-5/+5
|
* Merge pull request #149 from hugovk/fix-ciAdam Hupp2017-11-201-1/+1
|\ | | | | Fix the CI
| * Revert "update filetype reported by libmagic >=5.23 for keep_going=true"Hugo2017-10-141-1/+1
| | | | | | | | This reverts commit 9d127ceaab1da0632128422ffd6a2d340bd3e778.
* | python3 str handlingAdam Hupp2017-11-202-1/+10
|/ | | | | | | In python3 ctypes, a str is passed to ctypes as wchar*. This means the layout of the string magic looks like [ascii, null, ascii, null, etc]. For some reason, magic handles this just fine most of the time, but it's clearly wrong and I'm amazed it worked at all.
* update filetype reported by libmagic >=5.23 for keep_going=trueAdam Hupp2017-10-011-1/+1
|
* use my own photo to avoid licensing concernsAdam Hupp2017-10-011-0/+0
|
* rename magic.pyc to avoid cleaning during build stepAdam Hupp2017-09-142-2/+2
|
* Return str rather than bytes for the description strings on python3.Adam Hupp2016-06-051-6/+3
| | | | | Assumes utf-8 encoding from magic return values, which I hope is always the case.
* propagate exception in other branch of 509 hackAdam Hupp2016-06-051-0/+11
|
* hopefully fix tests on whatever travisci usesAdam Hupp2016-03-211-9/+18
|
* rename the unicode lambda file to "lambda" and rename it at runtime when ↵Adam Hupp2016-03-202-10/+15
| | | | | | running the test. distutils can't handle unicode filenames at install time.
* Fix travis configRaphaël Vinot2015-11-062-0/+0
| | | | The tests fail on travis ci because the libmagic 5.09 is buggy.
* force GMT so test runs consistentlytz-testfixAdam Hupp2015-11-061-2/+6
|
* update test output for libmagic in debian jessieAdam Hupp2015-10-191-4/+4
|
* Include tests in the sdist tarballAdam Hupp2015-07-299-0/+294