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 \