about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-28 21:48:11 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-28 21:48:11 +0100
commit10865ad4c1d38f5ff02bf60c747842c0904b52ed (patch)
tree1029740178b18a7b233a45d994975dc84015889c
parenta3615c2e41b5588c00c395c0339cd902d766c7bc (diff)
downloadnixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar.gz
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar.bz2
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar.lz
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar.xz
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.tar.zst
nixlib-10865ad4c1d38f5ff02bf60c747842c0904b52ed.zip
python312Packages.pyinsteon: disable all handlers tests on Python 3.12
-rw-r--r--pkgs/development/python-modules/pyinsteon/default.nix17
1 files changed, 3 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/pyinsteon/default.nix b/pkgs/development/python-modules/pyinsteon/default.nix
index 4597e0e2dd93..22242ee62bf4 100644
--- a/pkgs/development/python-modules/pyinsteon/default.nix
+++ b/pkgs/development/python-modules/pyinsteon/default.nix
@@ -48,20 +48,9 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  disabledTests = lib.optionals (pythonAtLeast "3.12") [
-    # AssertionError: Failed test 'read_eeprom_response' with argument 'group' value X vs expected value Z
-    "test_async_send"
-    "test_nak_response"
-    "test_no_direct_ack"
-    "test_on_level"
-    "test_on_level_group"
-    "test_on_level_nak"
-    # AssertionError: Failed test 'read_eeprom_response' with argument 'target' value X vs expected value Y
-    "test_other_status"
-    "test_status_command"
-    "test_status_request_hub"
-    # Test stuck in epoll
-    "test_read_all_peek"
+  disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
+    # Tests are blocking or failing
+    "tests/test_handlers/"
   ];
 
   pythonImportsCheck = [