def test_17err(self):
        """Kinda pointless, checks that 17 errors doesn't decode.
        Actually, this could still decode by coincidence on some inputs,
        so this test shouldn't be here at all."""
        errors = [5, 6, 12, 13, 22, 38, 40, 42, 47, 50, 57, 58, 59, 60, 61, 62,
                65]
        r = list(ord(x) for x in self.code)

        for e in errors:
            r[e] = 256 % (r[e] + 50)

        r = "".join(chr(x) for x in r)
        decode = self.coder.decode(r)
        self.assertNotEqual(self.string, decode)
dataset/ETHPy150Open brownan/Reed-Solomon/rstest.py/TestRSdecoding.test_17err/swapped operands of `%`