python3Packages.subunit: fix tests for 3.10
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user