[New-bugs-announce] [issue9588] Skip subprocess shell tests on Windows per file association setup
report at bugs.python.org
Fri Aug 13 18:33:10 CEST 2010
New submission from Brian Curtin <curtin at acm.org>:
The fix for #2304 causes issues on Windows if you have file associations setup that aren't Python interpters. In my case I have an association setup to open .py files in gvim, which causes the shell tests to hang until I quit the editor, then it fails because the output from gvim (nothing) doesn't match what it would when run through an interpreter.
CommandsWithSpaces.test_shell_* tests should have a skip condition which checks file associations before running. The info is stored somewhere in the registry, so it should be easy to see that, e.g., gvim.exe isn't a valid Python interpreter.
This issue only affects me at the moment, but it could affect other users who have tweaked file associations.
components: Tests, Windows
nosy: brian.curtin, tim.golden
stage: needs patch
title: Skip subprocess shell tests on Windows per file association setup
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce