[issue20986] test_startup_imports fails in test_site while executed inside venv

Sean McGrail report at bugs.python.org
Wed Mar 19 21:45:53 CET 2014


New submission from Sean McGrail:

test_startup_imports fails in test_site when executed from within a virtual environment (venv). Test passes when not executed within a venv.

$ python -m test test_site

[1/1] test_site
test test_site failed -- Traceback (most recent call last):
  File "/software/python/lib/python3.4/test/test_site.py", line 451, in test_startup_imports
    self.assertFalse(modules.intersection(re_mods), stderr)
AssertionError: {'sre_parse', '_sre', 'sre_constants', 're', 'sre_compile'} is not false

----------
components: Tests
messages: 214134
nosy: finitemachine
priority: normal
severity: normal
status: open
title: test_startup_imports fails in test_site while executed inside venv
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list