python/pytest-black: drop deprecated path from pytest_collect_file
[oi-userland.git] / components / python / setuptools-scm / patches / 01-test-no-sudo.patch
bloba58319cc89a8a188043387a8e1233a014cd1afd7
1 --- setuptools_scm-8.1.0/testing/test_git.py.orig
2 +++ setuptools_scm-8.1.0/testing/test_git.py
3 @@ -134,6 +134,7 @@
4 @contextlib.contextmanager
5 def break_folder_permissions(path: Path) -> Generator[None, None, None]:
6 """break the permissions of a folder for a while"""
7 + pytest.skip("needs passwordless sudo")
8 if not shutil.which("sudo"):
9 pytest.skip("sudo executable not found")
10 original_stat = path.stat()