[New-bugs-announce] [issue43320] test test_webbrowser "can't locate runnable browser" with enable-optimizations

Fabian Beitler report at bugs.python.org
Thu Feb 25 08:41:32 EST 2021


New submission from Fabian Beitler <f.beitler at konzeptpark.de>:

I downloaded the sources for python 3.8.8 (not tested with Python3.9.2. so far)and compiled it 
with enabled-optimisations parameter on a fresh Ubuntu 20.04 machine.

Beside the test_ssl error (there is an existing workaround, but still not happy with that one tbh) I could solve, the test "test_webbrowser" fails and I don't know how to handle that one.


ERROR: test_synthesize(test_webbrowser.ImportTest)
----------------------------------------------------------------
Traceback (most recent call last):
   File "Path/Python-3.8.8/Lib/test/test_webbrowser.py", line 299, in test_synthesize
   webbrowser.get(sys.executable)
File "Path/Python-3.8.8/Lib/webbrowser.py", line 65, in get 
    raise Error("could not locate runnable browser")
webbrowser.Error: could not locate runnable browser

----------
components: Tests
messages: 387672
nosy: swamper123
priority: normal
severity: normal
status: open
title: test test_webbrowser "can't locate runnable browser" with enable-optimizations
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43320>
_______________________________________


More information about the New-bugs-announce mailing list