From dbb81132dee3cf01d93c119d377ff1328fc52b39 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:14:44 +0200 Subject: [PATCH] python3Packages.aioswitcher: test in asyncio legacy mode --- pkgs/development/python-modules/aioswitcher/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index d03cc22ab1eb..958467823dc1 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -41,6 +41,10 @@ buildPythonPackage rec { time-machine ]; + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = [ # AssertionError: Expected <14:00> to be equal to <17:00>, but was not. "test_schedule_parser_with_a_weekly_recurring_enabled_schedule_data"