This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jmsdvl
Recipients daves, jmsdvl, ncoghlan, serhiy.storchaka
Date 2017-07-24.17:29:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ok I understand what you mean.

I think the only conditions for test failure are (A) $BROWSER is set and (B) $BROWSER is set to an actual executable that should be caught by ``register_standard_browsers`` prior to execution reaching the last if clause of ``register_standard_browsers`` (``if 'BROWSER' in os.environ:``) - those two conditions should be sufficient for execution to reach the offending line of code.

I'll see if I can cook up a test for that.  I think the right way to do this is to monkeypatch ``os.environ`` and ``shutil.which``, am I right?
Date User Action Args
2017-07-24 17:29:42jmsdvlsetrecipients: + jmsdvl, ncoghlan, serhiy.storchaka, daves
2017-07-24 17:29:42jmsdvlsetmessageid: <>
2017-07-24 17:29:42jmsdvllinkissue31014 messages
2017-07-24 17:29:42jmsdvlcreate