From 916d9812a8753c0114ffa7f641da264c3b47fc31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Tolga=20Cang=C3=B6z?= <46008593+standardAI@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:47:36 +0300 Subject: [PATCH] Update loading of config from a file in test_config.py (#7344) Co-authored-by: Sayak Paul --- 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 0795796275..eafafe33df 100644 --- a/tests/others/test_config.py +++ b/tests/others/test_config.py @@ -270,7 +270,7 @@ class ConfigTester(unittest.TestCase): 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.config._use_default_values assert config.config.f == [1, 3]