Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inconsistent resolution orders and add Python 3.8.
There was one class that re-declared what its direct superclass, implemented immediately above it, already declared. Fixes #49
- Loading branch information
Showing
5 changed files
with
35 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
[tox] | ||
envlist = | ||
py27,py35,py36,py37,pypy,pypy3,docs,coverage | ||
py27,py35,py36,py37,py38,pypy,pypy3,coverage,docs | ||
# Note: if you add new Python versions, please add them to | ||
# [testenv:coverage] depends as well! | ||
|
||
[testenv] | ||
commands = | ||
zope-testrunner --test-path=src {posargs:-vc} | ||
# without explicit deps, setup.py test will download a bunch of eggs into $PWD | ||
coverage run -p -m zope.testrunner --test-path=src [] | ||
extras = | ||
test | ||
deps = | ||
.[test] | ||
|
||
[testenv:pypy3] | ||
coverage | ||
setenv = | ||
ZOPE_INTERFACE_STRICT_IRO=1 | ||
# On certain platforms, at least OS X, pypy3 does not correctly read | ||
# a LANG environment variable; when cpython3.2 would return 'utf-8' | ||
# from locale.getpreferredencoding(), pypy3 returns 'us-ascii', causing | ||
# two test failures. Fix that by setting something it does read. | ||
setenv = | ||
LC_CTYPE=en_US.UTF-8 | ||
pypy3: LC_CTYPE=en_US.UTF-8 | ||
|
||
[testenv:coverage] | ||
usedevelop = true | ||
basepython = | ||
python3.6 | ||
skip_install = true | ||
commands = | ||
coverage run -m zope.testrunner --test-path=src {posargs:-vc} | ||
coverage report --fail-under=92 | ||
deps = | ||
{[testenv]deps} | ||
coverage | ||
coverage erase | ||
coverage combine | ||
coverage html -i | ||
coverage report --fail-under=93 --show-missing | ||
# parallel mode: make sure all builds complete before we run this one | ||
depends = | ||
py27,py35,py36,py37,py38,pypy,pypy3 | ||
parallel_show_output = true | ||
|
||
|
||
[testenv:docs] | ||
basepython = | ||
python3.6 | ||
python3 | ||
commands = | ||
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html | ||
deps = | ||
{[testenv]deps} | ||
.[docs] | ||
extras = | ||
docs |