python311Packages.pytest-mock: disable failing test
This commit is contained in:
parent
95df26eb87
commit
64eacbc2df
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, pytest
|
||||
|
@ -35,6 +36,12 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.11") [
|
||||
# Regression in 3.11.7 and 3.12.1; https://github.com/pytest-dev/pytest-mock/issues/401
|
||||
"test_failure_message_with_name"
|
||||
"test_failure_message_with_no_name"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytest_mock" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue