diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-06-16 12:56:22 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2020-06-16 13:02:59 -0700 |
commit | 393f5fc5f192cd665c6131c1def87166a9eab228 (patch) | |
tree | 67180cb3818bdfc1c9b3ec89be5633a14c7cea5c /pkgs/development/python-modules/freezegun | |
parent | b6654d9d6cad615835d6d60b9a8da8f41bfdcc77 (diff) |
python2Packages.freezegun: disable tests for python2
Contains python3 exclusive code
Diffstat (limited to 'pkgs/development/python-modules/freezegun')
-rw-r--r-- | pkgs/development/python-modules/freezegun/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/freezegun/default.nix b/pkgs/development/python-modules/freezegun/default.nix index 3a45e0942f832..92254b94dee9c 100644 --- a/pkgs/development/python-modules/freezegun/default.nix +++ b/pkgs/development/python-modules/freezegun/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy27 , dateutil , six , mock @@ -19,6 +20,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ dateutil six ]; checkInputs = [ mock nose pytest ]; + # contains python3 specific code + doCheck = !isPy27; meta = with stdenv.lib; { description = "FreezeGun: Let your Python tests travel through time"; |