diff --git a/src/drawbot_skia/gstate.py b/src/drawbot_skia/gstate.py index 150ff82..c573d8f 100644 --- a/src/drawbot_skia/gstate.py +++ b/src/drawbot_skia/gstate.py @@ -258,7 +258,7 @@ def copy(self, **properties): return self.__class__(**dct) def __eq__(self, other): - if type(self) != type(other): + if type(self) is not type(other): return False if self._names != other._names: return False