summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-05-26 20:11:42 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-05-26 22:29:45 +0200
commit300b1793a88d651323e8e32fe04e3c425bad8bc5 (patch)
treeb50e73a3d166e558c889c8199c7d423a00c9e059 /dev-python/pytest-qt
parentdev-libs/skalibs: remove stale patch (diff)
downloadgentoo-300b1793a88d651323e8e32fe04e3c425bad8bc5.tar.gz
gentoo-300b1793a88d651323e8e32fe04e3c425bad8bc5.tar.bz2
gentoo-300b1793a88d651323e8e32fe04e3c425bad8bc5.zip
dev-python/pytest-qt: remove unused patch(es)
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/25643 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/pytest-qt')
-rw-r--r--dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch13
-rw-r--r--dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch36
2 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch b/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
deleted file mode 100644
index cbdeb80c1c56..000000000000
--- a/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tests/test_modeltest.py b/tests/test_modeltest.py
-index ef9371c..becd3ae 100644
---- a/tests/test_modeltest.py
-+++ b/tests/test_modeltest.py
-@@ -350,7 +350,7 @@ def test_qt_tester_invalid(testdir):
- "test_qt_tester_invalid.py:*: Qt modeltester errors",
- "*-- Captured Qt messages --*",
- "* QtWarningMsg: FAIL! model->columnCount(QModelIndex()) >= 0 () returned FALSE "
-- "(qabstractitemmodeltester.cpp:*)",
-+ "(*qabstractitemmodeltester.cpp:*)",
- "*-- Captured stdout call --*",
- "modeltest: Using Qt C++ tester",
- "*== 1 failed in * ==*",
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):
- """