diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch')
-rw-r--r-- | dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch b/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch deleted file mode 100644 index 1acef2bb4922..000000000000 --- a/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/tests/test_basics.py b/tests/test_basics.py -index 7fdaf93..a972ea0 100644 ---- a/tests/test_basics.py -+++ b/tests/test_basics.py -@@ -82,31 +82,6 @@ def test_stop_for_interaction(qtbot, timer): - qtbot.stopForInteraction() - - --@pytest.mark.parametrize("show", [True, False]) --@pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"]) --def test_wait_window(show, method_name, qtbot): -- """ -- Using one of the wait-widget methods should not raise anything if the widget -- is properly displayed, otherwise should raise a TimeoutError. -- """ -- method = getattr(qtbot, method_name) -- if qt_api.pytest_qt_api != "pyqt5": -- with pytest.raises(RuntimeError) as exc_info: -- with method(None, None): -- pass -- assert str(exc_info.value) == "Available in PyQt5 only" -- else: -- widget = qt_api.QWidget() -- qtbot.add_widget(widget) -- if show: -- with method(widget, timeout=1000): -- widget.show() -- else: -- with pytest.raises(qtbot.TimeoutError): -- with method(widget, timeout=100): -- pass -- -- - @pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"]) - def test_wait_window_propagates_other_exception(method_name, qtbot): - """ |