Skip to content

Commit

Permalink
formatting with black
Browse files Browse the repository at this point in the history
  • Loading branch information
this-josh committed Feb 20, 2024
1 parent 19d0606 commit c4be814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def test_parse_font_size_valid(value, expected):
invalid_values = ["1", "1unit"]
expected_errors = "The font size must be expressed in rem, em, or px."


@pytest.mark.parametrize("value,error_message", zip(invalid_values, expected_errors))
def test_parse_font_size_invalid(value, error_message):
with pytest.raises(ValueError, match=error_message):
Expand Down

0 comments on commit c4be814

Please sign in to comment.