From cafcd1d061bfff62c6d372a7f98a09b5bdc4e468 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Jan 2022 22:51:01 -0800 Subject: [PATCH] python310Packages.subunit: disable tests --- pkgs/development/python-modules/subunit/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/subunit/default.nix b/pkgs/development/python-modules/subunit/default.nix index c59626fc85c3..9587d0df0fff 100644 --- a/pkgs/development/python-modules/subunit/default.nix +++ b/pkgs/development/python-modules/subunit/default.nix @@ -21,6 +21,9 @@ buildPythonPackage { propagatedBuildInputs = [ testtools ]; checkInputs = [ testscenarios hypothesis fixtures pytest ]; + + # requires unittest2, which no longer supported in 3.10 + doCheck = pythonOlder "3.10"; # ignore tests which call shell code, or call methods which haven't been implemented checkPhase = '' pytest python/subunit \