mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
python311Packages.pyzerproc: disable failing tests
This commit is contained in:
parent
c0ef3e6121
commit
5975b3f92a
@ -5,6 +5,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
, pythonAtLeast
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
@ -38,6 +39,11 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = lib.optionals (pythonAtLeast "3.11") [
|
||||||
|
# unittest.mock.InvalidSpecError: Cannot spec a Mock object.
|
||||||
|
"tests/test_light.py"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"pyzerproc"
|
"pyzerproc"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user