Skip to content

Commit

Permalink
More specific docstring for test
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfWhitt committed Dec 18, 2024
1 parent b939001 commit 33fa916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tests/style/pack/test_deprecated_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def delitem_hyphen(obj, name):
@pytest.mark.parametrize("get_fn", (getattr, getitem, getitem_hyphen))
@pytest.mark.parametrize("del_fn", (delattr, delitem, delitem_hyphen))
def test_padding_margin(old_name, new_name, value, default, style_with, get_fn, del_fn):
"""Deprecated names alias to new names, and issue deprecation warnings."""
"""Padding (with deprecation warning) and margin map to each other."""
# Set the old name, then check the new name
with pytest.warns(DeprecationWarning):
style = style_with(old_name, value)
Expand Down

0 comments on commit 33fa916

Please sign in to comment.