diff options
| author | Michael Mair-Keimberger <mm1ke@gentoo.org> | 2025-12-19 07:24:08 +0100 |
|---|---|---|
| committer | Michael Mair-Keimberger <mm1ke@gentoo.org> | 2025-12-19 07:24:08 +0100 |
| commit | c6acd723c2fb6bfc83a5550a8a13517361f2cba2 (patch) | |
| tree | 06a913b9bdfc629cd03b789a3aa95eca3c51bd6b /dev-python | |
| parent | 8be6b01529a95dcbef1eeebc27b08ef025282c91 (diff) | |
| download | gentoo-c6acd723c2fb6bfc83a5550a8a13517361f2cba2.tar.gz gentoo-c6acd723c2fb6bfc83a5550a8a13517361f2cba2.tar.bz2 gentoo-c6acd723c2fb6bfc83a5550a8a13517361f2cba2.zip | |
dev-python/selenium: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/selenium/files/selenium-4.33.0-pytest-ignore.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/selenium/files/selenium-4.33.0-pytest-ignore.patch b/dev-python/selenium/files/selenium-4.33.0-pytest-ignore.patch deleted file mode 100644 index 94d2477172ec..000000000000 --- a/dev-python/selenium/files/selenium-4.33.0-pytest-ignore.patch +++ /dev/null @@ -1,29 +0,0 @@ -From d4efc1b1f38611984b9d4f3c3aac1ba37224e8d0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 24 May 2025 06:54:07 +0200 -Subject: [PATCH] [py] Fix pytest_ignore_collect hook to respect --ignore - -Fix the `pytest_ignore_collect` hook to respect `--ignore` specified -by the user. Returning `False` stops pytest from consulting additional -hooks, including its default hooks that are necessary to process -`--ignore` option. By returning `True` or `None`, the hook combines -files ignored by default with ignores specified by the user. ---- - py/conftest.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/py/conftest.py b/py/conftest.py -index 2c4d0e62d6..45e5c704f8 100644 ---- a/py/conftest.py -+++ b/py/conftest.py -@@ -90,7 +90,9 @@ def pytest_ignore_collect(collection_path, config): - _drivers = set(drivers).difference(drivers_opt or drivers) - if drivers_opt: - _drivers.add("unit") -- return len([d for d in _drivers if d.lower() in collection_path.parts]) > 0 -+ if len([d for d in _drivers if d.lower() in collection_path.parts]) > 0: -+ return True -+ return None - - - def pytest_generate_tests(metafunc): |
