code: def test_values(self):
      pen = self.pen
      x = self.params
      r = pen.restriction
      f = (r.dot(x.T) ** 2).sum(0)
      assert_allclose(pen.func(x.T), f, rtol=1e-7, atol=1e-8)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  import statsmodels.base._penalties
  from statsmodels.tools.numdiff import approx_fprime, approx_hess
label_desc: Use image node_id 2 for calling the TestL2Constraints1 obj's underlying member method code with example usage: obj.test_values() without return types