From b438f0fb98161de4acb29c3573aea851faaa6179 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 20 Aug 2021 19:43:15 +0100 Subject: [PATCH] python3Packages.pyclipper: enable tests --- pkgs/development/python-modules/pyclipper/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyclipper/default.nix b/pkgs/development/python-modules/pyclipper/default.nix index 68e7abaf29a5..0dbcdfbc260a 100644 --- a/pkgs/development/python-modules/pyclipper/default.nix +++ b/pkgs/development/python-modules/pyclipper/default.nix @@ -3,6 +3,8 @@ , buildPythonPackage , setuptools-scm , cython +, pytestCheckHook +, unittest2 }: buildPythonPackage rec { @@ -20,10 +22,7 @@ buildPythonPackage rec { cython ]; - # Requires pytest_runner to perform tests, which requires deprecated - # features of setuptools. Seems better to not run tests. This should - # be fixed upstream. - doCheck = false; + checkInputs = [ pytestCheckHook unittest2 ]; pythonImportsCheck = [ "pyclipper" ]; meta = with lib; {