def spaces_around_operators(self, expected, string, chars_index): result = commands.check_spaces_around_operators(string, chars_index) self.assertEqual(expected, result)
def _check_operator_spacing(self): self._warning_filter( commands.check_spaces_around_operators(self.characters, self.current_char_index))