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
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pythonAtLeast
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
@ -38,6 +39,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.11") [
|
||||
# unittest.mock.InvalidSpecError: Cannot spec a Mock object.
|
||||
"tests/test_light.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyzerproc"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user