treewide: migrate to pythonPackages.unittestCheckHook
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
, importlib-metadata
|
||||
, typing ? null
|
||||
, pythonOlder
|
||||
, python
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -31,9 +31,9 @@ buildPythonPackage rec {
|
||||
typing
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
checkInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"importlib_resources"
|
||||
|
||||
Reference in New Issue
Block a user