New submission from Jamiel Almeida: Running the test test_cmd_line with my current PYTHONSTARTUP set to the attached file breaks the test.
$ ./python.exe -m test test_cmd_line Changing line 280 on Lib/test/test_cmd_line.py to include either -I or -E makes the error be different but still breaks the test. adding a line with `del env['PYTHONSTARTUP']` before the subprocess works around the issue. This leads me to believe that -E and -I aren't fully ignoring the environment variable. Running with: $ PYTHONSTARTUP= ./python.exe -m test test_cmd_line Also works around the issue. Ran the following to build python and run tests $ hg clone https://hg.python.org/cpython $ cd cpython $ ./configure --with-pydebug && make -j4 $ ./python -m test -j4 Currently on revision: 2a18f6b85da2 2015-04-12 | [rdmurray] #23464: remove JoinableQueue that was deprecated in 3.4.4. ---------- components: Interpreter Core files: pythonrc messages: 240581 nosy: slashfoo priority: normal severity: normal status: open title: test_cmd_line failing on PYTHONSTARTUP versions: Python 3.5 Added file: http://bugs.python.org/file38911/pythonrc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23925> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com