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 , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, pythonAtLeast
# build-system # build-system
, setuptools , setuptools
@ -145,6 +146,9 @@ buildPythonPackage rec {
"test_websocket_route_with_subprotocols" "test_websocket_route_with_subprotocols"
# Socket closes early # Socket closes early
"test_no_exceptions_when_cancel_pending_request" "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 = [ disabledTestPaths = [