Less errorprone message

This commit is contained in:
rsheeter 2020-11-06 12:20:26 -08:00
parent 5c83b5be47
commit 3069ad97ee

View File

@ -539,7 +539,7 @@ class LayerCollector:
except KeyError:
raise NotImplementedError(fmt)
raise TypeError(
f"expected int, Mapping or ot.Paint, found {type(paint).__name__}: {paint!r}"
f"Not sure what to do with {type(paint).__name__}: {paint!r}"
)