head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.11.09.09.29.29; author wiz; state Exp; branches; next ; commitid dnAxyEzu537OEL2H; desc @@ 1.1 log @devel/py-aspectlib: import py-aspectlib-2.0.0 aspectlib is an aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework. @ text @$NetBSD$ https://github.com/ionelmc/python-aspectlib/blob/master/tests/conftest.py --- tests/conftest.py.orig 2026-11-09 08:29:56.903996473 +0000 +++ tests/conftest.py @@@@ -1,5 +1,6 @@@@ -def pytest_ignore_collect(path, config): - basename = path.basename +from pathlib import Path - if 'pytestsupport' in basename: + +def pytest_ignore_collect(collection_path: Path, config): + if 'pytestsupport' in collection_path.__fspath__(): return True @