Skip to content

Commit 021cbaa

Browse files
author
Enrico Stauss
committed
Mark test_init_kwargs_alias_resolution_deterministic as stable
1 parent eb7b0ef commit 021cbaa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_settings.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,11 +699,6 @@ class Example(BaseSettings):
699699
assert Example(name='john', PREFIX_SURNAME='doe').model_dump() == {'name': 'john', 'last_name': 'doe'}
700700

701701

702-
@pytest.mark.xfail(
703-
reason='This test is expected to fail in some sessions due to `InitSettingsSource`s non-deterministic behaviour.'
704-
"Simply repeating through parameterization won't help as the underlying reason is the non-deterministic "
705-
'nature of python sets, which will remain constant within the same session.'
706-
)
707702
def test_init_kwargs_alias_resolution_deterministic():
708703
class Example(BaseSettings):
709704
name: str

0 commit comments

Comments
 (0)