I built the latest hg of the 3.5 branch, 'make install'ed it into ~/python3.5, and I cannot reproduce your bug -- I get a different one:
mg@platonas: ~/src/zopefoundation/zope.testing [git:master=] $ tox -e py35 -r GLOB sdist-make: /home/mg/src/zopefoundation/zope.testing/setup.py py35 recreate: /home/mg/src/zopefoundation/zope.testing/.tox/py35 py35 installdeps: zope.exceptions, zope.interface py35 inst: /home/mg/src/zopefoundation/zope.testing/.tox/dist/zope.testing-4.2.1.dev0.zip py35 installed: wheel==0.24.0,zope.exceptions==4.0.7,zope.interface==4.1.2,zope.testing==4.2.1.dev0 py35 runtests: PYTHONHASHSEED='2911124267' py35 runtests: commands[0] | python setup.py -q test -q E ====================================================================== ERROR: tests (unittest.loader._FailedTest) ---------------------------------------------------------------------- Traceback (most recent call last): ImportError: Failed to import test module: tests Traceback (most recent call last): File "/home/mg/python3.5/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/home/mg/src/zopefoundation/zope.testing/build/lib/zope/testing/tests.py", line 14, in <module> from . import doctest ImportError: bad magic number in 'zope.testing.doctest': b'\x03\xf3\r\n'
---------------------------------------------------------------------- Ran 1 test in 0.000s
FAILED (errors=1) ERROR: InvocationError: '/home/mg/src/zopefoundation/zope.testing/.tox/py35/bin/python setup.py -q test -q' ___________________________________ summary ___________________________________ ERROR: py35: commands failed
(Launchpad's bug tracker is bad, let's use GitHub from now on, ok?)
I built the latest hg of the 3.5 branch, 'make install'ed it into ~/python3.5, and I cannot reproduce your bug -- I get a different one:
mg@platonas: ~/src/zopefound ation/zope. testing [git:master=] $ tox -e py35 -r src/zopefoundat ion/zope. testing/ setup.py src/zopefoundat ion/zope. testing/ .tox/py35 src/zopefoundat ion/zope. testing/ .tox/dist/ zope.testing- 4.2.1.dev0. zip 0.24.0, zope.exceptions ==4.0.7, zope.interface= =4.1.2, zope.testing= =4.2.1. dev0 '2911124267' ======= ======= ======= ======= ======= ======= ======= ======= ======= loader. _FailedTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- mg/python3. 5/lib/python3. 5/unittest/ loader. py", line 153, in loadTestsFromName _(module_ name) mg/src/ zopefoundation/ zope.testing/ build/lib/ zope/testing/ tests.py" , line 14, in <module> doctest' : b'\x03\xf3\r\n'
GLOB sdist-make: /home/mg/
py35 recreate: /home/mg/
py35 installdeps: zope.exceptions, zope.interface
py35 inst: /home/mg/
py35 installed: wheel==
py35 runtests: PYTHONHASHSEED=
py35 runtests: commands[0] | python setup.py -q test -q
E
=======
ERROR: tests (unittest.
-------
Traceback (most recent call last):
ImportError: Failed to import test module: tests
Traceback (most recent call last):
File "/home/
module = __import_
File "/home/
from . import doctest
ImportError: bad magic number in 'zope.testing.
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1 test in 0.000s
FAILED (errors=1) mg/src/ zopefoundation/ zope.testing/ .tox/py35/ bin/python setup.py -q test -q' _______ _______ _______ _______ summary _______ _______ _______ _______ _______
ERROR: InvocationError: '/home/
_______
ERROR: py35: commands failed
(Launchpad's bug tracker is bad, let's use GitHub from now on, ok?)