From f4714a93000ab208508953b9610042fd4569d538 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 4 Jan 2022 10:27:51 +0100 Subject: Use flake8-pytest-style --- tests/unit/misc/test_miscwidgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/misc/test_miscwidgets.py') 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.""" -- cgit v1.2.3-54-g00ecf