python312Packages.sanic: disable failing test

This commit is contained in:
Martin Weinelt 2024-02-24 03:09:47 +01:00
parent 544c197eb8
commit bc38c1274e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonAtLeast
# build-system
, setuptools
@ -145,6 +146,9 @@ buildPythonPackage rec {
"test_websocket_route_with_subprotocols"
# Socket closes early
"test_no_exceptions_when_cancel_pending_request"
] ++ lib.optionals (pythonAtLeast "3.12") [
# AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute.
"test_ws_frame_put_message_into_queue"
];
disabledTestPaths = [