From 44d32a4b935d8616730317793b0b70a83433682c Mon Sep 17 00:00:00 2001 From: standardAI Date: Fri, 15 Mar 2024 18:50:10 +0300 Subject: [PATCH] Update loading of config from a file in test_config.py --- tests/others/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/others/test_config.py b/tests/others/test_config.py index 3492ec3508df..eea7bfdb4442 100644 --- a/tests/others/test_config.py +++ b/tests/others/test_config.py @@ -270,7 +270,7 @@ def test_use_default_values(self): config.save_config(tmpdirname) # now loading it with SampleObject2 should put f into `_use_default_values` - config = SampleObject2.from_config(tmpdirname) + config = SampleObject2.from_config(SampleObject2.load_config(tmpdirname)) assert "f" in config._use_default_values assert config.f == [1, 3]