code: def test_contrast1(self):
      term = np.column_stack((self.X[:, 0], self.X[:, 2]))
      c = Contrast(term, self.X)
      test_contrast = [[1] + [0] * 9, [0] * 2 + [1] + [0] * 7]
      assert_almost_equal(test_contrast, c.contrast_matrix)
  
file_path: statsmodels/statsmodels/stats/tests/test_contrast.py
imports: import numpy
  import numpy.random
  from numpy.testing import assert_almost_equal, assert_equal
  from statsmodels.stats.contrast import Contrast
  import statsmodels.stats.contrast
label_desc: Use image node_id 2 for calling the TestContrast obj's underlying member method code with example usage: obj.test_contrast1() without return types