From 50f9aea67fb1ea7967020ad613ce83409261f2de Mon Sep 17 00:00:00 2001 From: monai-bot <64792179+monai-bot@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:58:30 +0000 Subject: [PATCH] auto updates (#7463) Signed-off-by: monai-bot Signed-off-by: monai-bot --- tests/test_config_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_config_parser.py b/tests/test_config_parser.py index 8947158857..cc890a0522 100644 --- a/tests/test_config_parser.py +++ b/tests/test_config_parser.py @@ -72,6 +72,7 @@ def case_pdb_inst(sarg=None): class TestClass: + @staticmethod def compute(a, b, func=lambda x, y: x + y): return func(a, b) @@ -126,6 +127,7 @@ def __call__(self, a, b): class TestConfigParser(unittest.TestCase): + def test_config_content(self): test_config = {"preprocessing": [{"_target_": "LoadImage"}], "dataset": {"_target_": "Dataset"}} parser = ConfigParser(config=test_config)