[New-bugs-announce] [issue9588] Skip subprocess shell tests on Windows per file association setup

Brian Curtin 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.

----------
assignee: brian.curtin
components: Tests, Windows
messages: 113794
nosy: brian.curtin, tim.golden
priority: low
severity: normal
stage: needs patch
status: open
title: Skip subprocess shell tests on Windows per file association setup
type: behavior
versions: Python 3.2

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


More information about the New-bugs-announce mailing list