summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 18:28:10 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 19:08:53 +0200
commit7ffdd3634348e19978fbb3c9086c7c6fc7ff0979 (patch)
tree2156561ae98052e3be98948ffe8c17f9ec8448f9
parentpython3Packages.python-awair: disable tests (diff)
downloadnixpkgs-7ffdd3634348e19978fbb3c9086c7c6fc7ff0979.tar.gz
python3Packages.pybalboa: fix tests
-rw-r--r--pkgs/development/python-modules/pybalboa/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pybalboa/default.nix b/pkgs/development/python-modules/pybalboa/default.nix
index e00186809690..5ad085c44975 100644
--- a/pkgs/development/python-modules/pybalboa/default.nix
+++ b/pkgs/development/python-modules/pybalboa/default.nix
@@ -4,7 +4,7 @@
fetchFromGitHub,
poetry-core,
poetry-dynamic-versioning,
- pytest-asyncio,
+ pytest-asyncio_0,
pytestCheckHook,
}:
@@ -27,10 +27,15 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
- pytest-asyncio
+ pytest-asyncio_0
pytestCheckHook
];
+ disabledTests = [
+ # async def functions are not natively supported.
+ "test_cancel_task"
+ ];
+
pythonImportsCheck = [ "pybalboa" ];
meta = with lib; {