[issue30843] [2.7] Lib/test/site.py conflicts with Lib/site.py when running tests

STINNER Victor report at bugs.python.org
Tue Jul 4 05:32:02 EDT 2017


STINNER Victor added the comment:

This bug only impacts the Python test suite.

I see two options:

* Add "from __future__ import absolute_import" to all .py files in Lib/... I would prefer to not modify too many files to fix a regression caused by a new debug tool

* Rename Lib/test/bisect.py to Lib/test/bisectcmd.py.

I prefer the second option :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30843>
_______________________________________


More information about the Python-bugs-list mailing list