@contextmanager<EOL><INDENT>def context(self, *notes):<DEDENT>
self._appended_notes += notes<EOL>yield<EOL>del self._appended_notes[-len(notes):]<EOL>
A context manager that appends ``note`` to every diagnostic processed by
this engine.