From 312ca6318d7e3c1a3ba8b1340447147ae92f7c2e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 8 Jun 2024 00:12:01 +0200 Subject: [PATCH] python311Packages.tensordict: disable flaky test --- .../python-modules/tensordict/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/tensordict/default.nix b/pkgs/development/python-modules/tensordict/default.nix index a3b39969be6a..30e98654d25c 100644 --- a/pkgs/development/python-modules/tensordict/default.nix +++ b/pkgs/development/python-modules/tensordict/default.nix @@ -54,12 +54,15 @@ buildPythonPackage rec { pytestCheckHook ]; - # RuntimeError: internal error - disabledTests = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ - "test_add_scale_sequence" - "test_modules" - "test_setattr" - ]; + disabledTests = + # Hangs forever + [ "test_copy_onto" ] + # RuntimeError: internal error + ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + "test_add_scale_sequence" + "test_modules" + "test_setattr" + ]; # ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package disabledTestPaths = lib.optionals stdenv.isDarwin [ "test/test_distributed.py" ];