From 8e5fc46b9a41549fd9ef2721e8b44c4444cf09f0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 6 Apr 2023 13:29:54 +0200 Subject: [PATCH] python311Packages.snitun: Disable failing test --- pkgs/development/python-modules/snitun/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/snitun/default.nix b/pkgs/development/python-modules/snitun/default.nix index 8dcc90b0a009..6c51cb5de092 100644 --- a/pkgs/development/python-modules/snitun/default.nix +++ b/pkgs/development/python-modules/snitun/default.nix @@ -7,6 +7,7 @@ , fetchFromGitHub , pytest-aiohttp , pytestCheckHook +, pythonAtLeast , pythonOlder }: @@ -42,6 +43,9 @@ buildPythonPackage rec { "test_snitun_single_runner_throttling" # ConnectionResetError: [Errno 54] Connection reset by peer "test_peer_listener_timeout" + ] ++ lib.optional (pythonAtLeast "3.11") [ + # TypeError: Passing coroutines is forbidden, use tasks explicitly. + "test_snitun_runner_updown" ]; pythonImportsCheck = [ "snitun" ];