python3Packages.makefun: downgrade pytest

Uses undeclared async functions, which breaks with pytest 8.4.

Changed files
+2 -2
pkgs
development
python-modules
makefun
+2 -2
pkgs/development/python-modules/makefun/default.nix
···
setuptools-scm,
# tests
-
pytestCheckHook,
+
pytest7CheckHook,
}:
buildPythonPackage rec {
···
setuptools-scm
];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [ pytest7CheckHook ];
pythonImportsCheck = [ "makefun" ];