Fixed disabled/broken augmenters tests

This commit is contained in:
rakesh Gupta 2020-02-15 11:22:22 +05:30 committed by Jon
parent 03d5f9cf1f
commit e94a84a144

View File

@ -1,6 +1,7 @@
{ buildPythonPackage
, fetchFromGitHub
, imageio
, imagecorruptions
, numpy
, opencv3
, pytest
@ -33,6 +34,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
imageio
imagecorruptions
numpy
opencv3
scikitimage
@ -41,9 +43,8 @@ buildPythonPackage rec {
six
];
# augmenters requires a significant increase in packages requires
checkPhase = ''
pytest ./test --ignore=test/augmenters
pytest ./test
'';
checkInputs = [ opencv3 pytest ];