Improve checkpyver error message
This commit is contained in:
parent
caeab959a5
commit
5307b97ca5
@ -49,7 +49,7 @@ def check_python_version():
|
||||
# pylint: disable=bad-builtin
|
||||
version_str = '.'.join(map(str, sys.version_info[:3]))
|
||||
text = ("At least Python 3.5 is required to run qutebrowser, but " +
|
||||
version_str + " is installed!\n")
|
||||
"it's running with " + version_str + ".\n")
|
||||
if Tk and '--no-err-windows' not in sys.argv: # pragma: no cover
|
||||
root = Tk()
|
||||
root.withdraw()
|
||||
|
@ -28,8 +28,8 @@ import pytest
|
||||
from qutebrowser.misc import checkpyver
|
||||
|
||||
|
||||
TEXT = (r"At least Python 3.5 is required to run qutebrowser, but "
|
||||
r"\d+\.\d+\.\d+ is installed!\n")
|
||||
TEXT = (r"At least Python 3.5 is required to run qutebrowser, but it's running "
|
||||
r"with \d+\.\d+\.\d+.\n")
|
||||
|
||||
|
||||
@pytest.mark.not_frozen
|
||||
|
Loading…
Reference in New Issue
Block a user