From 4f726dadbfe82548aac1ca33a2dd975965160f7c Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 3 Aug 2025 21:53:17 +0200 Subject: [PATCH] Update tests/test_utils_config.py --- tests/test_utils_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils_config.py b/tests/test_utils_config.py index a99a6ffd3..39ea27574 100644 --- a/tests/test_utils_config.py +++ b/tests/test_utils_config.py @@ -108,8 +108,8 @@ def test_config_with_strange_and_edge_keys(): # Check that dot-access fails for bad names for key in ["", "spaces in key", "[]", "class", "user.name", "hyphen-key", "123"]: - with pytest.raises(AttributeError): - _ = getattr(cfg, key) + with pytest.raises(AttributeError): + _ = getattr(cfg, key) finally: os.remove(path)