mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-01 04:10:04 +00:00
python3Packages.pillow-jxl-plugin: enable tests (#558532)
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
packaging,
|
||||
pillow,
|
||||
numpy,
|
||||
openexr,
|
||||
pyexiv2,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
@@ -44,13 +46,18 @@ buildPythonPackage (finalAttrs: {
|
||||
pillow
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
numpy
|
||||
openexr
|
||||
pyexiv2
|
||||
];
|
||||
|
||||
# Remove source so tests don't try to import from it
|
||||
preCheck = ''
|
||||
rm -r pillow_jxl
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pillow_jxl"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user