def spell_check(self, expected, string): result = commands.check_spelling(string, const.ID) self.assertEqual(expected, result)
def _check_spelling(self): self._warning_filter( commands.check_spelling(self._match.group(), self._token_lexer_type))