From 792c9212a41014c4dd058a36e7f5e2b58018dc9b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 9 Dec 2024 03:44:20 +0100 Subject: [PATCH] python312Packages.trio-asyncio: disable failing tests --- pkgs/development/python-modules/trio-asyncio/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/trio-asyncio/default.nix b/pkgs/development/python-modules/trio-asyncio/default.nix index 821cd770caaf..980ba19ace82 100644 --- a/pkgs/development/python-modules/trio-asyncio/default.nix +++ b/pkgs/development/python-modules/trio-asyncio/default.nix @@ -49,6 +49,13 @@ buildPythonPackage rec { "ignore::DeprecationWarning" ]; + disabledTests = [ + # TypeError: RaisesGroup.__init__() got an unexpected keyword argument 'strict' + # https://github.com/python-trio/trio-asyncio/issues/154 + "test_run_trio_task_errors" + "test_cancel_loop_with_tasks" + ]; + nativeCheckInputs = [ pytest-trio pytestCheckHook