3b10641d381898a41a36e1093c5cf2e34685b025,scipy/ndimage/tests/test_measurements.py,,test_standard_deviation07,#,608

Before Change


def test_standard_deviation07():
    "standard deviation 7"
    labels = [1]
    for type in types:
        input = np.array([-0.00619519], type)
        output = ndimage.standard_deviation(input, labels, [1])
        assert_array_almost_equal(output, [0])

def test_minimum_position01():
    "minimum position 1"
    labels = np.array([1, 0], bool)
    for type in types:

After Change


def test_standard_deviation07():
    "standard deviation 7"
    labels = [1]
    olderr = np.seterr(all="ignore")
    try:
        for type in types:
            input = np.array([-0.00619519], type)
            output = ndimage.standard_deviation(input, labels, [1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 3b10641d381898a41a36e1093c5cf2e34685b025
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation07


Project Name: scipy/scipy
Commit Name: 5b446a989547268b00c241dea8f8d2aad0c2fe74
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/linalg/tests/test_decomp.py
Class Name: TestEig
Method Name: test_bad_geneig


Project Name: scipy/scipy
Commit Name: bd311699c3e91a6953598d0d33725760a53902cc
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/special/tests/test_orthogonal.py
Class Name: TestCall
Method Name: test_call


Project Name: scipy/scipy
Commit Name: 3b10641d381898a41a36e1093c5cf2e34685b025
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation01


Project Name: scipy/scipy
Commit Name: 3b10641d381898a41a36e1093c5cf2e34685b025
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_standard_deviation06


Project Name: scipy/scipy
Commit Name: bd311699c3e91a6953598d0d33725760a53902cc
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/special/tests/test_data.py
Class Name:
Method Name: test_boost


Project Name: scipy/scipy
Commit Name: 3b10641d381898a41a36e1093c5cf2e34685b025
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_variance06


Project Name: scipy/scipy
Commit Name: 1c4ebaa6ce55c2e5efbaee2df6eb8ae9bcb43799
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/stats/tests/test_continuous_basic.py
Class Name:
Method Name: test_cont_basic


Project Name: scipy/scipy
Commit Name: b211166d4f67459b8162a0371bd4c897dd891968
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/interpolate/tests/test_rbf.py
Class Name:
Method Name: test_rbf_regularity


Project Name: scipy/scipy
Commit Name: 3b10641d381898a41a36e1093c5cf2e34685b025
Time: 2011-01-15
Author: ralf.gommers@googlemail.com
File Name: scipy/ndimage/tests/test_measurements.py
Class Name:
Method Name: test_variance01