python2Packages.freezegun: disable tests for python2

Contains python3 exclusive code
This commit is contained in:
Jonathan Ringer 2020-06-16 12:56:22 -07:00
parent b6654d9d6c
commit 393f5fc5f1

View file

@ -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";