5a44e7a180ffb68ff1175cd8135c76cbcba33a80,linearmodels/tests/panel/test_firstdifference_ols.py,,test_results_access,#Any#,160

Before Change


def test_results_access(data):
    mod = FirstDifferenceOLS(data.y, data.x)
    res = mod.fit(debiased=False)
    d = dir(res)
    for key in d:
        if not key.startswith("_"):
            val = getattr(res, key)
            if callable(val):
                val()


def test_firstdifference_error(data):
    mod = FirstDifferenceOLS(data.y, data.x)

    clusters = mod.dependent.dataframe.copy()

After Change



def test_results_access(data):
    mod = FirstDifferenceOLS(data.y, data.x)
    res = mod.fit(debiased=False)
    access_attributes(res)


def test_firstdifference_error(data):
    mod = FirstDifferenceOLS(data.y, data.x)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 13

Instances


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_firstdifference_ols.py
Class Name:
Method Name: test_results_access


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_pooled_ols.py
Class Name:
Method Name: test_results_access


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_random_effects.py
Class Name:
Method Name: test_results_access


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_fama_macbeth.py
Class Name:
Method Name: test_fama_macbeth_kernel_smoke


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_fama_macbeth.py
Class Name:
Method Name: test_fama_macbeth


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_firstdifference_ols.py
Class Name:
Method Name: test_results_access


Project Name: bashtage/linearmodels
Commit Name: 5a44e7a180ffb68ff1175cd8135c76cbcba33a80
Time: 2018-12-20
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_between_ols.py
Class Name:
Method Name: test_results_access