From 090d23abfb9dbde022d11a613a77889067052d6c Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 31 Jul 2025 10:45:01 +0200 Subject: [PATCH] Update tests/test_utils_utils.py --- .../{test_ytils_utils.py => test_utils_utils.py} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename tests/{test_ytils_utils.py => test_utils_utils.py} (90%) diff --git a/tests/test_ytils_utils.py b/tests/test_utils_utils.py similarity index 90% rename from tests/test_ytils_utils.py rename to tests/test_utils_utils.py index 826b9c5e2..4b9c7e77d 100644 --- a/tests/test_ytils_utils.py +++ b/tests/test_utils_utils.py @@ -55,16 +55,16 @@ def sample_function(x): ({"key": [{"nested": 1}, (2, 3)]}, "dict"), # Fonctions - (lambda x: x, ""), - (sample_function, "sample_function"), - (sample_function(10), "nested"), - (len, "len"), - (sum, "sum"), + (lambda x: x, "function"), + (sample_function, "function"), + (sample_function(10), "function"), + (len, "builtin_function_or_method"), + (sum, "builtin_function_or_method"), # Modules - (math, "math"), - (sys, "sys"), - (types.FunctionType, "FunctionType"), + (math, "module"), + (sys, "module"), + (types.FunctionType, "type"), ((i for i in range(3)), "generator"), (iter([1, 2, 3]), "list_iterator"), ])