We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75ad8e8 commit 514277aCopy full SHA for 514277a
tests/test_widgets.py
@@ -847,14 +847,15 @@ def test_pushbutton_click_signal():
847
mock2.assert_called_once()
848
849
850
+@pytest.mark.filterwarnings("ignore::UserWarning:superqt")
851
def test_pushbutton_icon(backend: str):
852
use_app(backend)
853
btn = widgets.PushButton(icon="mdi:folder")
854
btn.set_icon("play", "red")
855
btn.set_icon(None)
856
857
if backend == "qt":
- with pytest.warns(UserWarning, match="Could not set iconify icon"):
858
+ with pytest.warns(UserWarning):
859
btn.set_icon("bad:key")
860
861
0 commit comments