From c7bfefeb083bac602c9b5123cbd086b28c486ef4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 26 Oct 2016 08:08:00 +0200 Subject: [PATCH] tests: Remove useless show() call We add it to a layout anyways, so it will already be shown. --- tests/unit/mainwindow/statusbar/test_textbase.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/unit/mainwindow/statusbar/test_textbase.py b/tests/unit/mainwindow/statusbar/test_textbase.py index 4b8ffb9f2..6aa6a7b96 100644 --- a/tests/unit/mainwindow/statusbar/test_textbase.py +++ b/tests/unit/mainwindow/statusbar/test_textbase.py @@ -50,10 +50,6 @@ def test_elided_text(fake_statusbar, qtbot, elidemode, check): long_string = 'Hello world! ' * 100 label.setText(long_string) - - with qtbot.waitExposed(label): - label.show() - assert check(label._elided_text)