From 8b2853659868448ccf8ced72cc4c656f9c5e0fab Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Jan 2022 23:06:51 -0800 Subject: [PATCH] python3Packages.subunit: fix tests for 3.10 --- pkgs/development/python-modules/subunit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/subunit/default.nix b/pkgs/development/python-modules/subunit/default.nix index 83bfd25c6b64..a7d8ea4aa8fe 100644 --- a/pkgs/development/python-modules/subunit/default.nix +++ b/pkgs/development/python-modules/subunit/default.nix @@ -4,7 +4,7 @@ , cppunit , pkg-config , subunit -, pythonOlder +, pythonAtLeast # python dependencies , fixtures @@ -24,7 +24,7 @@ buildPythonPackage { checkInputs = [ testscenarios hypothesis fixtures pytest ]; # requires unittest2, which no longer supported in 3.10 - doCheck = pythonOlder "3.10"; + doCheck = pythonAtLeast "3.10"; # ignore tests which call shell code, or call methods which haven't been implemented checkPhase = '' pytest python/subunit \