def METHOD_NAME(self) -> None:
    x = Variable((3, 5))
    y = Variable((3, 5))
    self.assertFalse(x.is_constant())
    self.assertTrue(x.is_affine())
    self.assertTrue(x.is_quadratic())
    with warnings.catch_warnings():
        warnings.simplefilter("ignore")
        s = x.T @ y
    self.assertFalse(s.is_constant())
    self.assertFalse(s.is_affine())
    self.assertTrue(s.is_quadratic())
    self.assertFalse(s.is_dcp())