From 393f5fc5f192cd665c6131c1def87166a9eab228 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 16 Jun 2020 12:56:22 -0700 Subject: python2Packages.freezegun: disable tests for python2 Contains python3 exclusive code --- pkgs/development/python-modules/freezegun/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/python-modules/freezegun/default.nix') 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"; -- cgit 1.4.1