def test_get_tokens_operators(self):
        for operator in ('+=', '-=', '*=', '==', '!=', '/=', '%=', '^=', '|=',
                         '<<', '<=', '>='):
            #                        0123456
            tokens = self.get_tokens(operator % 'a %s b')
            self.assertEqual(3, len(tokens), tokens)
            self.assertEqual(Name('a', 0, 1), tokens[0])
            self.assertEqual(Syntax(operator, 2, 4), tokens[1])
            self.assertEqual(Name('b', 5, 6), tokens[2])
dataset/ETHPy150Open myint/cppclean/test_tokenize.py/TokenizeTest.test_get_tokens_operators/swapped operands of `%`