commit: 4d2ad0d8ea4051ff3361637aea7397bfc0f073a6
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Mon Nov 24 20:17:16 2025 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Mon Nov 24 20:17:16 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=4d2ad0d8
chore: standardize access to the offending source
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
tests/scripts/test_pkgcheck_scan.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/scripts/test_pkgcheck_scan.py
b/tests/scripts/test_pkgcheck_scan.py
index 218efff7..4462d8e5 100644
--- a/tests/scripts/test_pkgcheck_scan.py
+++ b/tests/scripts/test_pkgcheck_scan.py
@@ -621,7 +621,7 @@ class TestPkgcheckScan:
if not callable(custom_handler):
pytest.fail(f"{custom_handler_path} handler isn't
invokable")
- custom_handler.__source_path__ = custom_handler_path #
pyright: ignore[reportFunctionMemberAccess]
+ custom_handler.__source_file__ = custom_handler_path #
pyright: ignore[reportFunctionMemberAccess]
except FileNotFoundError:
pass
@@ -721,7 +721,7 @@ class TestPkgcheckScan:
except Exception as e:
pytest.fail(
- f"handler {data.custom_filter.__source_path__!r} threw an
exception: {e!r}" # type: ignore
+ f"handler {data.custom_filter.__source_file__!r} threw an
exception: {e!r}" # type: ignore
)
def assert_same(sources, results, verbose=False):