python.pkgs.pytest-mock: use 2.0.0 for python 2

This commit is contained in:
Frederik Rietdijk
2020-06-11 10:00:25 +02:00
parent 535ae9d44e
commit 224d7b129c
2 changed files with 44 additions and 1 deletions
+4 -1
View File
@@ -2527,7 +2527,10 @@ in {
pytest-mpl = callPackage ../development/python-modules/pytest-mpl { };
pytest-mock = callPackage ../development/python-modules/pytest-mock { };
pytest-mock = if isPy3k then
callPackage ../development/python-modules/pytest-mock { }
else
callPackage ../development/python-modules/pytest-mock/2.nix { };
pytest-openfiles = callPackage ../development/python-modules/pytest-openfiles { };