Пример #1
0
 def spaces_around_operators(self, expected, string, chars_index):
     result = commands.check_spaces_around_operators(string, chars_index)
     self.assertEqual(expected, result)
Пример #2
0
 def _check_operator_spacing(self):
     self._warning_filter(
         commands.check_spaces_around_operators(self.characters,
                                                self.current_char_index))