| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
aromanovich-master
Conflicts:
test.py
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
|
| |
magic.from_buffer/from_file methods
- add hard check to prevent this in the future (possibly breaking change)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- remove charset from textfile mimetype that is now gone (libmagic
version change? environment change? sunspots?)
- Don't run filetype tests when testing charsets
|
| | |
|
| |
|