Skip to content

Commit 2765c7d

Browse files
committed
Cleanup leftover from previous implementation
1 parent 201461d commit 2765c7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/color/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_to_rgb_fails_for_invalid_color(
7070
expected_exception: type[Exception],
7171
exception_match: str,
7272
) -> None:
73-
with pytest.raises(expected_exception, match=re.escape(exception_match or "^$")):
73+
with pytest.raises(expected_exception, match=re.escape(exception_match)):
7474
to_rgb(color)
7575

7676

0 commit comments

Comments
 (0)