def test_div_scalar(self):
        """Tests division by a scalar"""
        numbers = map(GF256int, (5,20,50,100,134,158,0,148,233,254,4,5,2))
        scalar = GF256int(17)

        poly = Polynomial(numbers)
        scalarpoly = Polynomial(x0=scalar)

        self.assertEqual(
                (poly // scalarpoly).coefficients,
                tuple(map(lambda x: x / scalar, numbers))
                )
dataset/ETHPy150Open brownan/Reed-Solomon/polynomialtest.py/TestGFPoly.test_div_scalar/original