diff options
author | Jason Madden <jamadden@gmail.com> | 2020-03-22 07:37:37 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2020-03-22 07:37:37 -0500 |
commit | edece6949e2cc0e39f5b6052e3b11ebb3484797f (patch) | |
tree | 36b6552a03e6ab071884626050b2d488b74aea91 /tox.ini | |
parent | 0194dd6143049d319774dd56b53ef21384c6ef27 (diff) | |
download | zope-configuration-edece6949e2cc0e39f5b6052e3b11ebb3484797f.tar.gz |
Ensure consistent IRO for all objects.issue49
This requires switching some tests to the plain unittest runner right now because of cyclic dependencies.
Fixes #49
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,12 +1,15 @@ [tox] envlist = - py27,py34,py35,py36,py37,pypy,pypy3,coverage,docs + py27,py35,py36,py37,pypy,pypy3,coverage,docs [testenv] +usedevelop = true deps = .[test] commands = - zope-testrunner --test-path=src --all [] + python -m unittest discover -s src +setenv = + ZOPE_INTERFACE_STRICT_IRO = 1 [testenv:coverage] usedevelop = true @@ -18,6 +21,10 @@ commands = deps = {[testenv]deps} coverage +# Disabling STRICT IRO is temporary. +setenv = + ZOPE_INTERFACE_STRICT_IRO = 0 + [testenv:docs] basepython = @@ -29,3 +36,6 @@ deps = {[testenv]deps} Sphinx repoze.sphinx.autointerface +# Disabling STRICT IRO is temporary. +setenv = + ZOPE_INTERFACE_STRICT_IRO = 0 |