* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/files/
@ 2022-05-26 20:31 Conrad Kostecki
0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2022-05-26 20:31 UTC (permalink / raw
To: gentoo-commits
commit: 300b1793a88d651323e8e32fe04e3c425bad8bc5
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu May 26 18:11:42 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu May 26 20:29:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300b1793
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 <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25643
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../pytest-qt-3.3.0-fix-file-match-test.patch | 13 --------
.../pytest-qt-3.3.0-skip-show-window-test.patch | 36 ----------------------
2 files changed, 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):
- """
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-26 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 20:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/files/ Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox