python311Packages.unittest-xml-reporting: Disable failing tests
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, lxml
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
@@ -26,6 +27,12 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = lib.optionals (pythonAtLeast "3.11") [
|
||||
# AttributeError: 'tuple' object has no attribute 'shortDescription'
|
||||
"--deselect=tests/testsuite.py::XMLTestRunnerTestCase::test_basic_unittest_constructs"
|
||||
"--deselect=tests/testsuite.py::XMLTestRunnerTestCase::test_unexpected_success"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "xmlrunner" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user