mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
python3Packages.imageio: fix tests
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
, pillow
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
, tifffile
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -28,6 +29,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [
|
||||
psutil
|
||||
pytestCheckHook
|
||||
tifffile
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
@@ -36,6 +38,20 @@ buildPythonPackage rec {
|
||||
export HOME="$(mktemp -d)"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# tries to pull remote resources, even with IMAGEIO_NO_INTERNET
|
||||
"test_png_remote"
|
||||
# needs git history
|
||||
"test_mvolread_out_of_bytes"
|
||||
"test_imiter"
|
||||
"test_memory_size"
|
||||
"test_legacy_write_empty"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_pillow.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for reading and writing a wide range of image, video, scientific, and volumetric data formats";
|
||||
homepage = "http://imageio.github.io/";
|
||||
|
||||
Reference in New Issue
Block a user