python311Packages.pyzerproc: disable failing tests
This commit is contained in:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user