.. _abstract-method: abstract-method / W0223 ======================= **Message emitted:** ``Method %r is abstract in class %r but is not overridden in child class %r`` **Description:** *Used when an abstract method (i.e. raise NotImplementedError) is not overridden in concrete class.* **Problematic code:** ``abstract_method.py``: .. literalinclude:: /data/messages/a/abstract-method/bad/abstract_method.py :language: python ``function_raising_not_implemented_error.py``: .. literalinclude:: /data/messages/a/abstract-method/bad/function_raising_not_implemented_error.py :language: python **Correct code:** ``abstract_method.py``: .. literalinclude:: /data/messages/a/abstract-method/good/abstract_method.py :language: python ``function_raising_not_implemented_error.py``: .. literalinclude:: /data/messages/a/abstract-method/good/function_raising_not_implemented_error.py :language: python Created by the `classes `__ checker.