New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
$ ./python -m test -v -m test_discovery_failed_discovery test_unittest ... Warning -- sys.path was modified by test_unittest Before: (139720094056760, ['/home/serhiy/py/cpython', '/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', '/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', '/home/serhiy/.local/lib/python3.8/site-packages'], ['/home/serhiy/py/cpython', '/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', '/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', '/home/serhiy/.local/lib/python3.8/site-packages']) After: (139720094056760, ['/home/serhiy/py/cpython', '/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', '/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', '/home/serhiy/.local/lib/python3.8/site-packages'], ['/home/serhiy/py/cpython/build/test_python_8308/package', '/home/serhiy/py/cpython', '/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', '/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', '/home/serhiy/.local/lib/python3.8/site-packages']) test_unittest failed (env changed) ---------- components: Tests messages: 318535 nosy: ezio.melotti, michael.foord, rbcollins, serhiy.storchaka priority: normal severity: normal status: open title: test_discovery_failed_discovery in test_unittest modifies sys.path type: behavior versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com