Skip to content

Commit f27e7dc

Browse files
committed
Remove dead code.
1 parent 9e0035e commit f27e7dc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

jsonschema/_format.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,6 @@ def is_css21_color(instance):
383383
return True
384384
return is_css_color_code(instance)
385385

386-
def is_css3_color(instance):
387-
if instance.lower() in webcolors.css3_names_to_hex:
388-
return True
389-
return is_css_color_code(instance)
390-
391386

392387
with suppress(ImportError):
393388
import jsonpointer

0 commit comments

Comments
 (0)