From e9bde1a9cd91a66a4368ab2b9f047654cda60ef1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 12:46:29 +0200 Subject: [PATCH] python3Packages.channels: test in asyncio legacy mode --- pkgs/development/python-modules/channels/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/channels/default.nix b/pkgs/development/python-modules/channels/default.nix index d027c194675b..e4c8658f59bf 100644 --- a/pkgs/development/python-modules/channels/default.nix +++ b/pkgs/development/python-modules/channels/default.nix @@ -32,6 +32,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + pythonImportsCheck = [ "channels" ]; meta = with lib; {