aboutsummaryrefslogtreecommitdiff
path: root/Lib/fontTools/colorLib/table_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/fontTools/colorLib/table_builder.py')
-rw-r--r--Lib/fontTools/colorLib/table_builder.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/fontTools/colorLib/table_builder.py b/Lib/fontTools/colorLib/table_builder.py
index 763115b9..f1e182c4 100644
--- a/Lib/fontTools/colorLib/table_builder.py
+++ b/Lib/fontTools/colorLib/table_builder.py
@@ -67,9 +67,7 @@ def _split_format(cls, source):
assert isinstance(
fmt, collections.abc.Hashable
), f"{cls} Format is not hashable: {fmt!r}"
- assert (
- fmt in cls.convertersByName
- ), f"{cls} invalid Format: {fmt!r}"
+ assert fmt in cls.convertersByName, f"{cls} invalid Format: {fmt!r}"
return fmt, remainder