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 f93364b commit 8372c72Copy full SHA for 8372c72
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, match=r'yaml_config_section key ".*" not found in .+'):
+ with pytest.raises(KeyError, match=f'yaml_config_section key "invalid_key" not found in {p}'):
230
Settings()
0 commit comments