Skip to content

Commit

Permalink
Fixed disabled/broken augmenters tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakesh4G authored and Jon committed Feb 15, 2020
1 parent 03d5f9c commit e94a84a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/imgaug/default.nix
@@ -1,6 +1,7 @@
{ buildPythonPackage
, fetchFromGitHub
, imageio
, imagecorruptions
, numpy
, opencv3
, pytest
Expand Down Expand Up @@ -33,6 +34,7 @@ buildPythonPackage rec {

propagatedBuildInputs = [
imageio
imagecorruptions
numpy
opencv3
scikitimage
Expand All @@ -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 ];
Expand Down

0 comments on commit e94a84a

Please sign in to comment.