Skip to content

Commit

Permalink
auto updates (#7463)
Browse files Browse the repository at this point in the history
Signed-off-by: monai-bot <[email protected]>

Signed-off-by: monai-bot <[email protected]>
  • Loading branch information
monai-bot authored Feb 20, 2024
1 parent a8080fc commit 50f9aea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 50f9aea

Please sign in to comment.