Skip to content

Commit

Permalink
fix test_dict_set_alias for real
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Aug 7, 2024
1 parent 116ba0a commit 48524df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pymatgen/io/vasp/sets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ class DictSet(VaspInputSet):
def __post_init__(self):
super().__post_init__()
warnings.warn(
"DictSet is deprecated, and will be removed on 2025-12-31\n; Use VaspInputSet",
"DictSet is deprecated, and will be removed on 2025-12-31. Use VaspInputSet",
category=FutureWarning,
stacklevel=2,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/io/vasp/test_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2121,7 +2121,7 @@ def test_vasp_input_set_alias():

def test_dict_set_alias():
with pytest.warns(
FutureWarning, match="DictSet is deprecated, and will be removed on 2025-12-31\nUse VaspInputSet"
FutureWarning, match="DictSet is deprecated, and will be removed on 2025-12-31. Use VaspInputSet"
):
DictSet()
assert isinstance(DictSet(), VaspInputSet)

0 comments on commit 48524df

Please sign in to comment.