diff options
Diffstat (limited to 'tests/unit/commands/test_userscripts.py')
-rw-r--r-- | tests/unit/commands/test_userscripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/commands/test_userscripts.py b/tests/unit/commands/test_userscripts.py index 9d8d65fd6..ccdcce31d 100644 --- a/tests/unit/commands/test_userscripts.py +++ b/tests/unit/commands/test_userscripts.py @@ -25,7 +25,7 @@ import logging import signal import pytest -from qutebrowser.qt.core import QFileSystemWatcher +from qutebrowser.qt import core from qutebrowser.commands import userscripts from qutebrowser.utils import utils @@ -171,7 +171,7 @@ def test_command_with_error(qtbot, py_proc, runner, caplog): def test_killed_command(qtbot, tmp_path, py_proc, runner, caplog): data_file = tmp_path / 'data' - watcher = QFileSystemWatcher() + watcher = core.QFileSystemWatcher() watcher.addPath(str(tmp_path)) cmd, args = py_proc(r""" |