Serhiy Storchaka added the comment: This would be not easy. Since the BROWSER environment variable should be patched before the first use the webbrowser module, the test should import webbrowser in a separate process (you can use the test.support.script_helper.assert_python_ok() helper).
_synthesize() is used in two places with different arguments: in register_standard_browsers() and in get(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31014> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com