python3Packages.pytest-sugar: fix pytest 9 compat

This commit is contained in:
Martin Weinelt
2026-02-01 17:41:05 +01:00
parent 7dfe226109
commit 635a8a9cbb
@@ -17,6 +17,12 @@ buildPythonPackage rec {
hash = "sha256-c7i2UWPr8Q+fZx76ue7T1W8g0spovag/pkdAqSwI9l0=";
};
postPatch = ''
# pytest 9 compat
substituteInPlace test_sugar.py \
--replace-fail "startdir" "start_path"
'';
build-system = [
setuptools
];