[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

Luke Kenneth Casson Leighton report at bugs.python.org
Tue Mar 19 00:06:38 CET 2013


Luke Kenneth Casson Leighton added the comment:

that's not the correct solution, ned.  what that will do is when someone runs a combination of python and MSYS under wine, the test will be skipped incorrectly.

thanks to the work that i did back in 2009, wine has now been improved significantly and has been capable of running python correctly for over 3 years now.  i use it to do testing of pyjamas-desktop.

bottom line: skipping regression tests by making assumptions based solely and exclusively on the platform type is not good news.

----------

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


More information about the Python-bugs-list mailing list