0488281d06e02aec9117614295a865ac3cb533b0,scipy/special/tests/test_logit.py,TestLogit,check_logit_out,#TestLogit#Any#Any#,8

Before Change


    def check_logit_out(self, dtype, expected):
        a = np.linspace(0,1,10)
        a = np.array(a, dtype=dtype)
        olderr = np.seterr(divide="ignore")
        try:
            actual = logit(a)
        finally:
            np.seterr(**olderr)

After Change


    def check_logit_out(self, dtype, expected):
        a = np.linspace(0,1,10)
        a = np.array(a, dtype=dtype)
        with np.errstate(divide="ignore"):
            actual = logit(a)

        assert_almost_equal(actual, expected)

        assert_equal(actual.dtype, np.dtype(dtype))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 38

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_logit.py
Class Name: TestLogit
Method Name: check_logit_out


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/linalg/tests/test_decomp.py
Class Name: TestOrdQZ
Method Name: qz_decomp


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_lambertw.py
Class Name:
Method Name: test_values


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation07


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAnderson
Method Name: test_expon


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestLegendreFunctions
Method Name: test_lpmv


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/linalg/tests/test_decomp.py
Class Name: TestEig
Method Name: test_bad_geneig


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal_eval.py
Class Name: TestPolys
Method Name: test_sh_legendre


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation01


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/optimize/tests/test_minpack.py
Class Name: TestFixedPoint
Method Name: test_array_trivial


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/linalg/tests/test_decomp.py
Class Name: TestEig
Method Name: test_falker


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation06


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/optimize/tests/test_minpack.py
Class Name: TestFixedPoint
Method Name: test_array_basic1


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal_eval.py
Class Name: TestPolys
Method Name: test_sh_chebyt


Project Name: scipy/scipy
Commit Name: 0db98b94a470a40ad1da0a781d108f0e20e09185
Time: 2017-08-29
Author: warren.weckesser@gmail.com
File Name: scipy/stats/_binned_statistic.py
Class Name:
Method Name: binned_statistic_dd


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_mpmath.py
Class Name:
Method Name: test_hyp2f1_real_some_points


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal_eval.py
Class Name: TestPolys
Method Name: check_poly


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/stats/tests/test_mstats_basic.py
Class Name: TestGeoMean
Method Name: test_1d_ma0


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_mpmath.py
Class Name:
Method Name: test_lpmv


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestBessel
Method Name: test_iv_cephes_vs_amos


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_variance01


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal_eval.py
Class Name: TestRecurrence
Method Name: check_poly


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_data.py
Class Name:
Method Name: _test_factory


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/stats/tests/test_mstats_basic.py
Class Name: TestGeoMean
Method Name: test_1d_ma_inf


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestErf
Method Name: _check_variant_func


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestEuler
Method Name: test_euler


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_logit.py
Class Name: TestLogit
Method Name: test_nan


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/sparse/csgraph/tests/test_conversions.py
Class Name:
Method Name: test_csgraph_from_dense


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/spatial/distance.py
Class Name:
Method Name: canberra


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_variance06


Project Name: trevorstephens/gplearn
Commit Name: adafaf15bbc3672b21ab4ca98666c79c857f8af2
Time: 2016-09-10
Author: trev.stephens@gmail.com
File Name: gplearn/fitness.py
Class Name:
Method Name: weighted_pearson


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestBessel
Method Name: test_iv_cephes_vs_amos_mass_test


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal.py
Class Name: TestCheby
Method Name: test_chebyc


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal_eval.py
Class Name:
Method Name: test_warnings


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_orthogonal.py
Class Name: TestCall
Method Name: test_call


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/linalg/tests/test_decomp.py
Class Name: TestEig
Method Name: test_singular


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/special/tests/test_mpmath.py
Class Name:
Method Name: test_hyp2f1_real_some


Project Name: scipy/scipy
Commit Name: 0488281d06e02aec9117614295a865ac3cb533b0
Time: 2020-04-28
Author: warren.weckesser@gmail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_mean04