| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | rename test to match standard naming rules, so pytest finds it: ↵ | Adam Hupp | 2022-04-25 | 1 | -232/+0 |
| | | | | | https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery | ||||
| * | less surprising use of abspath | Adam Hupp | 2022-04-25 | 1 | -1/+1 |
| | | |||||
| * | Support file 5.41. | Martin Liska | 2021-10-22 | 1 | -1/+1 |
| | | | | | | In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7, the MIME was changed for Python bytecode. | ||||
| * | Support os.PathLike types | Adam Hupp | 2021-10-04 | 1 | -0/+8 |
| | | | | | See https://github.com/ahupp/python-magic/pull/251 | ||||
| * | Update tests and docker config for newer versions | Adam Hupp | 2021-06-01 | 1 | -1/+2 |
| | | |||||
| * | remove from_open_file, since its duplicative with from_descriptor and hasnt ↵ | Adam Hupp | 2021-01-15 | 1 | -9/+0 |
| | | | | | been released yet | ||||
| * | skip magic_descriptor tests in centos 7 | Adam Hupp | 2021-01-15 | 1 | -0/+10 |
| | | |||||
| * | Reformat according to PEP | SchoolGuy | 2021-01-13 | 1 | -17/+21 |
| | | | | | I achieved this via the PyCharm Reformat Shortcut | ||||
| * | add from_open_file to match libmagic binding featureset | Adam Hupp | 2017-12-04 | 1 | -0/+6 |
| | | |||||
| * | Added support for magic_descriptor routine | psrok1 | 2020-12-07 | 1 | -0/+7 |
| | | |||||
| * | Handle libmagic versions that don't support MAGIC_EXTENSION | Adam Hupp | 2020-11-06 | 1 | -5/+10 |
| | | | | | | | | | | | extension support was added to libmagic in 2015 in 9190a18d09f25fb0ca6abe1fcbdba780f5077e45. This change: - updates the test to handle various verions that return garbage / empty string.s - throws an exception in magic.Magic if extension support is requested and we know its not supported. | ||||
| * | MAGIC_EXTENSION support (file --extension) | darkbarker | 2020-10-22 | 1 | -0/+7 |
| | | |||||
| * | support changed mime types in test | Adam Hupp | 2020-09-15 | 1 | -4/+8 |
| | | |||||
| * | Fix tests with file 5.39 | Luca Weiss | 2020-09-07 | 1 | -4/+6 |
| | | |||||
| * | Make magic_[version|setparam|getparam] optional | Adam Hupp | 2020-05-05 | 1 | -6/+18 |
| | | | | | | These aren't present in ancient versions of libmagic, so only fetch optionally and throw NotImplementedError if called. | ||||
| * | Update for deprecation of testing in setup.py | Adam Hupp | 2020-05-05 | 1 | -0/+6 |
| | | | | | | test_suite is deprecated in setup.py, so remove it and replace the command in .travis.yml with directly running the test | ||||
| * | Add alternative output for Parquet file | Adam Hupp | 2020-03-31 | 1 | -2/+2 |
| | | |||||
| * | Adding snappy parquet to test | Kyle Prifogle | 2020-03-30 | 1 | -0/+2 |
| | | |||||
| * | Expose magic_version as magic.version(), which returns an integer ↵ | Adam Hupp | 2020-01-24 | 1 | -0/+3 |
| | | | | | | | representing the version number. re: https://github.com/ahupp/python-magic/issues/204 | ||||
| * | Add dockerfiles for running tests on various Ubuntu LTS versions | Adam Hupp | 2020-01-11 | 1 | -1/+4 |
| | | |||||
| * | Hopefully fix #105 | Adam Hupp | 2020-01-11 | 1 | -1/+5 |
| | | |||||
| * | actually fix CI | Adam Hupp | 2019-12-11 | 1 | -1/+1 |
| | | |||||
| * | Fix https://github.com/ahupp/python-magic/issues/190 | Adam Hupp | 2019-12-11 | 1 | -0/+5 |
| | | |||||
| * | Updated constructor to accept the raw flag and pass it to the underlying ↵ | rmspeers | 2018-09-20 | 1 | -0/+19 |
| | | | | | library. Helpful for cases where unicode chars exist in match results. | ||||
| * | Use INDIR_MAX rather than BYTES_MAX in tests since the latter wasn'tfix-ci | Adam Hupp | 2018-09-01 | 1 | -6/+2 |
| | | | | | | supported until recently. Also, return .value from the ctypes wrapper so callers aren't required to. | ||||
| * | getparam/setparam support #163 | Christoph Biedl | 2018-08-16 | 1 | -0/+8 |
| | | |||||
| * | Apply change from Corin-EU to allow tests to be run from any directory | Adam Hupp | 2018-08-16 | 1 | -3/+5 |
| | | |||||
| * | Merge pull request #177 from sbraz/buffer | Adam Hupp | 2018-08-15 | 1 | -11/+14 |
| |\ | | | | | Tests: allow differences when reading a buffer or a file, fixes #173 | ||||
| | * | Tests: allow differences when reading a buffer or a file, fixes #173 | Louis Sautier | 2018-08-14 | 1 | -11/+14 |
| | | | | | | | | | | | Also remove the loop in order to avoid analyzing files or buffers for each expected value, replace it with a call to assertIn(). | ||||
| * | | Allow x-gzip as MIME type for gzip files, fixes #96 | Louis Sautier | 2018-08-13 | 1 | -1/+1 |
| |/ | |||||
| * | Bring "from_file()" under test | Guido A.J. Stevens | 2018-01-25 | 1 | -0/+6 |
| | | |||||
| * | PEP8 | Guido A.J. Stevens | 2018-01-25 | 1 | -11/+18 |
| | | |||||
| * | fix test for xenial since travis started enabling it | Adam Hupp | 2017-12-09 | 1 | -5/+5 |
| | | |||||
| * | Merge pull request #149 from hugovk/fix-ci | Adam Hupp | 2017-11-20 | 1 | -1/+1 |
| |\ | | | | | Fix the CI | ||||
| | * | Revert "update filetype reported by libmagic >=5.23 for keep_going=true" | Hugo | 2017-10-14 | 1 | -1/+1 |
| | | | | | | | | | This reverts commit 9d127ceaab1da0632128422ffd6a2d340bd3e778. | ||||
| * | | python3 str handling | Adam Hupp | 2017-11-20 | 1 | -0/+7 |
| |/ | | | | | | | 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=true | Adam Hupp | 2017-10-01 | 1 | -1/+1 |
| | | |||||
| * | rename magic.pyc to avoid cleaning during build step | Adam Hupp | 2017-09-14 | 1 | -2/+2 |
| | | |||||
| * | Return str rather than bytes for the description strings on python3. | Adam Hupp | 2016-06-05 | 1 | -6/+3 |
| | | | | | | Assumes utf-8 encoding from magic return values, which I hope is always the case. | ||||
| * | propagate exception in other branch of 509 hack | Adam Hupp | 2016-06-05 | 1 | -0/+11 |
| | | |||||
| * | hopefully fix tests on whatever travisci uses | Adam Hupp | 2016-03-21 | 1 | -9/+18 |
| | | |||||
| * | rename the unicode lambda file to "lambda" and rename it at runtime when ↵ | Adam Hupp | 2016-03-20 | 1 | -10/+15 |
| | | | | | | | running the test. distutils can't handle unicode filenames at install time. | ||||
| * | Fix travis config | Raphaël Vinot | 2015-11-06 | 1 | -0/+0 |
| | | | | | The tests fail on travis ci because the libmagic 5.09 is buggy. | ||||
| * | force GMT so test runs consistentlytz-testfix | Adam Hupp | 2015-11-06 | 1 | -2/+6 |
| | | |||||
| * | update test output for libmagic in debian jessie | Adam Hupp | 2015-10-19 | 1 | -4/+4 |
| | | |||||
| * | Include tests in the sdist tarball | Adam Hupp | 2015-07-29 | 1 | -0/+78 |
