summaryrefslogtreecommitdiff
path: root/test.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/aromanovich/python-magic into ↵Adam Hupp2013-09-271-62/+57
|\ | | | | | | | | | | | | aromanovich-master Conflicts: test.py
| * Add keep going functionalityAnton Romanovich2013-02-051-0/+10
| |
| * Fix testsAnton Romanovich2013-02-051-4/+6
| |
| * Refactor testsAnton Romanovich2013-02-041-49/+47
| |
| * Fix tests; introduce Travis CIAnton Romanovich2013-02-041-17/+14
| |
* | Use python 2.4-compatible threading.currentThread() callAdam Hupp2013-09-271-11/+15
| |
* | - avoid segfault when used in multiple threads via ↵Adam Hupp2013-06-021-4/+11
|/ | | | | | magic.from_buffer/from_file methods - add hard check to prevent this in the future (possibly breaking change)
* Support python 3Adam Hupp2012-11-011-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | - various unicode/bytes test fixes - resolve an (undocumented?) change in how ctypes converts unicode strings to char string by always using the default filesystem encoding. Test Plan: adam@gaba:~/github/python-magic$ python test.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.010s OK adam@gaba:~/github/python-magic$ python3 test.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.016s OK adam@gaba:~/github/python-magic$ ~/opt/python3.3/bin/python3 test.py .. snip ... ---------------------------------------------------------------------- Ran 5 tests in 0.025s
* Fix unit testAdam Hupp2010-11-211-2/+2
| | | | | | | - remove charset from textfile mimetype that is now gone (libmagic version change? environment change? sunspots?) - Don't run filetype tests when testing charsets
* Add new feature which return mime_encoding of file.Nicolas Delaby2010-10-151-1/+15
|
* initial commitAdam Hupp2010-03-311-0/+51