diff --git a/pkgs/development/python-modules/aiogram/default.nix b/pkgs/development/python-modules/aiogram/default.nix index 09db1d9520aa..df75ddcf2b0b 100644 --- a/pkgs/development/python-modules/aiogram/default.nix +++ b/pkgs/development/python-modules/aiogram/default.nix @@ -76,6 +76,11 @@ buildPythonPackage rec { ] ++ lib.concatAttrValues optional-dependencies; + pytestFlags = [ + # DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slate... + "-Wignore::DeprecationWarning" + ]; + pythonImportsCheck = [ "aiogram" ]; passthru.updateScript = gitUpdater {