code: def setup_class(cls):
      y, x = cls.get_sample()
      # merge var1 and var2
      x2 = x[:, :2].copy()
      x2[:, 1] += x[:, 2]
      # mod1 = TheilGLS(y, x, r_matrix =[[0, 1, -1, 0, 0]])
      mod1 = TheilGLS(y, x[:, :3], r_matrix=[[0, 1, -1]])
      cls.res1 = mod1.fit(200000)
      cls.res2 = OLS(y, x2).fit()
  
      # adjust precision, careful: cls.tol is mutable
      tol = {"pvalues": (1e-4, 2e-7), "tvalues": (5e-4, 0)}
      tol.update(cls.tol)
      cls.tol = tol
  
imports: import os
  import numpy
  import pandas
  import pytest
  from numpy.testing import assert_allclose
  from statsmodels.regression.linear_model import OLS, GLS
  from statsmodels.sandbox.regression.penalized import TheilGLS
label_desc: Use image node_id 1 for calling the TestTheilLinRestriction obj's underlying member method code with example usage: obj.setup_class(cls) without return types