python3Packages.subunit: fix tests for 3.10

This commit is contained in:
Jonathan Ringer
2022-01-04 23:06:51 -08:00
parent 5b706ee48a
commit 8b28536598
@@ -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 \