python3Packages.oschmod: fix tests with pytest 9.1

> ERROR: Unknown config option: mock_use_standalone_module
This commit is contained in:
Martin Weinelt
2026-07-12 15:16:38 +02:00
parent 2bd3200bbc
commit 953bc491e5

View File

@@ -3,6 +3,8 @@
buildPythonPackage,
fetchPypi,
setuptools,
mock,
pytest-mock,
pytestCheckHook,
}:
@@ -18,7 +20,11 @@ buildPythonPackage rec {
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
mock
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "oschmod" ];