[issue24241] webbrowser default browser detection and/or public API for _trylist.

Nick Coghlan report at bugs.python.org
Sat Feb 25 00:45:02 EST 2017


Nick Coghlan added the comment:

After merging this, I belatedly realised that codecov's complaint about the lack of code coverage for the diff was actually valid: now that "preferred" is a public API, it should have a cross-platform test case.

That should be a fairly straightforward test to write, as it can just use an arbitrary string, and then poke around in _tryorder directly to make sure it is updated as expected - it doesn't need to use a valid browser reference.

----------
stage: resolved -> test needed
status: closed -> open

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


More information about the Python-bugs-list mailing list