diff options
Diffstat (limited to 'tests/unit/config/test_qtargs_locale_workaround.py')
-rw-r--r-- | tests/unit/config/test_qtargs_locale_workaround.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/config/test_qtargs_locale_workaround.py b/tests/unit/config/test_qtargs_locale_workaround.py index 073e08c03..7c0be65f1 100644 --- a/tests/unit/config/test_qtargs_locale_workaround.py +++ b/tests/unit/config/test_qtargs_locale_workaround.py @@ -16,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. +import os import pathlib import pytest @@ -452,4 +453,5 @@ def test_no_locales_available(qtwe_version, monkeypatch, caplog): monkeypatch.setattr(qtargs.QLibraryInfo, 'location', lambda _path: '/doesnotexist') assert qtargs._get_lang_override(qtwe_version, "de-CH") is None assert caplog.messages == [ - "/doesnotexist/qtwebengine_locales not found, skipping workaround!"] + f"{os.sep}doesnotexist{os.sep}qtwebengine_locales not found, skipping " + "workaround!"] |