From d5de3d9bd413d9ddab2facc30d57f3016284db57 Mon Sep 17 00:00:00 2001 From: FrankLawrence Date: Mon, 17 Jun 2024 18:48:05 +0200 Subject: [PATCH] Add test --- tests/test_colour.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_colour.py b/tests/test_colour.py index bf0e597133a6..4da9748c95b4 100644 --- a/tests/test_colour.py +++ b/tests/test_colour.py @@ -62,6 +62,8 @@ def test_from_str(value, expected): 'rgb(30, -1, 60)', 'invalid(a, b, c)', 'rgb(', + '', + '0x#', ], ) def test_from_str_failures(value):