mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
python311Packages.pytest-mock: disable failing test
(cherry picked from commit 7649aa56b9)
This commit is contained in:
committed by
Martin Weinelt
parent
2bfa889e92
commit
5d378cd8d0
@@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
@@ -33,6 +34,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; {
|
||||
|
||||
Reference in New Issue
Block a user