[issue20986] test_startup_imports fails in test_site when executed inside venv

Vinay Sajip report at bugs.python.org
Thu Mar 20 13:22:07 CET 2014


Vinay Sajip added the comment:

It looks like the venv checking machinery in site.py was changed in 3.4 to import re conditionally if in a venv (in 3.3, it was an unconditional import). This doesn't seem wrong, so ISTM the test needs changing (it already contains exceptions for particular cases, e.g. OS X, because _osx_support uses re - this seems to be an analogous case).

----------
nosy: +christian.heimes

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


More information about the Python-bugs-list mailing list