def test_get_tokens_post_increment_operators(self):
        for operator in ('++', '--'):
            #                        012345
            tokens = self.get_tokens('FOO%s' % operator)
            self.assertEqual(2, len(tokens), tokens)
            self.assertEqual(Name('FOO', 0, 3), tokens[0])
            self.assertEqual(Syntax(operator, 3, 5), tokens[1])

            #                        012345
            tokens = self.get_tokens(operator % 'FOO %s')
            self.assertEqual(2, len(tokens), tokens)
            self.assertEqual(Name('FOO', 0, 3), tokens[0])
            self.assertEqual(Syntax(operator, 4, 6), tokens[1])
dataset/ETHPy150Open myint/cppclean/test_tokenize.py/TokenizeTest.test_get_tokens_post_increment_operators/swapped operands of `%`