From d3e6dbb771a40f425b78b67107c9acce8173441e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 21:53:49 +0200 Subject: [PATCH] python3Packages.matrix-nio: run tests in asyncio legacy mode --- pkgs/development/python-modules/matrix-nio/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix index 724a1459b779..586f1ef96a1c 100644 --- a/pkgs/development/python-modules/matrix-nio/default.nix +++ b/pkgs/development/python-modules/matrix-nio/default.nix @@ -78,7 +78,10 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "--benchmark-disable" ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + "--benchmark-disable" + ]; disabledTests = [ # touches network