[Checkins] [zopefoundation/zope.mimetype] a7ef36: Fix the typegetter _prefix tables to use bytes.
GitHub
noreply at github.com
Fri Apr 21 16:00:50 CEST 2017
Branch: refs/heads/issue6
Home: https://github.com/zopefoundation/zope.mimetype
Commit: a7ef367c73cc2375af68c78b183ca1de029b5732
https://github.com/zopefoundation/zope.mimetype/commit/a7ef367c73cc2375af68c78b183ca1de029b5732
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-04-21 (Fri, 21 Apr 2017)
Changed paths:
A .coveragerc
M .gitignore
M .travis.yml
M CHANGES.rst
M setup.py
M src/zope/mimetype/interfaces.py
R src/zope/mimetype/tests.py
A src/zope/mimetype/tests/__init__.py
A src/zope/mimetype/tests/test_doctests.py
A src/zope/mimetype/tests/test_typegetter.py
M src/zope/mimetype/typegetter.py
M src/zope/mimetype/typegetter.txt
M tox.ini
Log Message:
-----------
Fix the typegetter _prefix tables to use bytes.
Add test cases for this.
Also consistently pass bytes from the test case.
Fixes #6.
I ran into the namespace package issue ("can't import zope.interface")
when testing with tox using 'setup.py test' so I switched the runners
to zope.testrunner, which seems to have solved the problem.
I took this opportunity to enable coverage reports as well as pip
caching, and added Python 3.6 to the support list.
More information about the checkins
mailing list