python312Packages.pyheos: disable tests stuck in epoll

This commit is contained in:
Martin Weinelt
2023-12-20 20:46:21 +01:00
parent 66412df335
commit c015b8acfe
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pytest-asyncio
, pytestCheckHook
}:
@@ -25,6 +26,10 @@ buildPythonPackage rec {
disabledTests = [
# accesses network
"test_connect_timeout"
] ++ lib.optionals (pythonAtLeast "3.12") [
# stuck in epoll
"test_disconnect"
"test_commands_fail_when_disconnected"
];
pythonImportsCheck = [ "pyheos" ];