diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:27:51 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:30:24 +0100 |
commit | f4714a93000ab208508953b9610042fd4569d538 (patch) | |
tree | 7ca57876b2447ddc0ed36a4dcbad0f1f33dabc1b /tests/unit/misc/test_miscwidgets.py | |
parent | e1af0ff74d693d32fb745bd67bc6fd0570abf302 (diff) | |
download | qutebrowser-pytest-style.tar.gz qutebrowser-pytest-style.zip |
Use flake8-pytest-stylepytest-style
Diffstat (limited to 'tests/unit/misc/test_miscwidgets.py')
-rw-r--r-- | tests/unit/misc/test_miscwidgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_miscwidgets.py b/tests/unit/misc/test_miscwidgets.py index 6e1919ec3..3c5c1eef1 100644 --- a/tests/unit/misc/test_miscwidgets.py +++ b/tests/unit/misc/test_miscwidgets.py @@ -38,7 +38,7 @@ class TestCommandLineEdit: cmd_edit.set_prompt(':') qtbot.add_widget(cmd_edit) assert cmd_edit.text() == '' - yield cmd_edit + return cmd_edit def test_position(self, qtbot, cmd_edit): """Test cursor position based on the prompt.""" |