We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bc837 commit f93364bCopy full SHA for f93364b
tests/test_source_yaml.py
@@ -226,5 +226,5 @@ def settings_customise_sources(
226
) -> tuple[PydanticBaseSettingsSource, ...]:
227
return (YamlConfigSettingsSource(settings_cls),)
228
229
- with pytest.raises(KeyError):
+ with pytest.raises(KeyError, match=r'yaml_config_section key ".*" not found in .+'):
230
Settings()
0 commit comments