def __init__(self):
        # Test Precisions
        self.decimal_resids = DECIMAL_3
        self.decimal_params = DECIMAL_2
        self.decimal_bic = DECIMAL_0
        self.decimal_bse = DECIMAL_3

        from statsmodels.datasets.longley import load
        self.data = load()
        self.data.exog = add_constant(self.data.exog, prepend=False)
        self.res1 = GLM(self.data.endog, self.data.exog,
                        family=sm.families.Gaussian()).fit()
        from .results.results_glm import Longley
        self.res2 = Longley()
replace file and open in the builtin module
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/genmod/tests/test_glm.py/TestGlmGaussian.__init__--crossover with--dataset/ETHPy150Open mockfs/mockfs/mockfs/storage.py/replace_builtins