[issue28655] Tests altered the execution environment in isolated mode

Serhiy Storchaka report at bugs.python.org
Sun Nov 20 10:12:54 EST 2016


Serhiy Storchaka added the comment:

Most warnings are fixed in issue19398. The only warnings are left in test_import and test_lib2to3.

$ ./python -I -S -m test.regrtest -vv test_import test_lib2to3 >/dev/null
Warning -- files was modified by test_import
  Before: []
  After:  ['@test_15631_tmp.pyc'] 
/home/serhiy/py/cpython3.6/Lib/lib2to3/tests/test_parser.py:393: UserWarning: ParseError on file /home/serhiy/py/cpython3.6/Lib/lib2to3/main.py (bad input: type=22, value='=', context=('', (130, 38)))
  warnings.warn('ParseError on file %s (%s)' % (filepath, err))
/home/serhiy/py/cpython3.6/Lib/lib2to3/tests/test_parser.py:393: UserWarning: ParseError on file /home/serhiy/py/cpython3.6/Lib/lib2to3/tests/pytree_idempotency.py (bad input: type=22, value='=', context=('', (49, 33)))
  warnings.warn('ParseError on file %s (%s)' % (filepath, err))

----------

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


More information about the Python-bugs-list mailing list