[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register
Serhiy Storchaka
report at bugs.python.org
Mon Jul 24 14:03:43 EDT 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue31014>
_______________________________________
More information about the Python-bugs-list
mailing list