8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2,scipy/io/tests/test_idl.py,TestPointerStructures,test_arrays_replicated_3d,#TestPointerStructures#,378

Before Change


            assert_true(np.all(vect_id(s.arrays_rep.h[i]) == id(s.arrays_rep.h[0][0])))

    def test_arrays_replicated_3d(self):
        warn_ctx = WarningManager()
        warn_ctx.__enter__()
        try:
            warnings.filterwarnings("ignore", message="warning: multi-dimensional structures")
            s = readsav(path.join(DATA_PATH, "struct_pointer_arrays_replicated_3d.sav"), verbose=False)
        finally:

After Change


            assert_(np.all(vect_id(s.arrays_rep.h[i]) == id(s.arrays_rep.h[0][0])))

    def test_arrays_replicated_3d(self):
        with warnings.catch_warnings():
            warnings.filterwarnings("ignore",
                    message="warning: multi-dimensional structures")
            s = readsav(path.join(DATA_PATH,
                                  "struct_pointer_arrays_replicated_3d.sav"),
                        verbose=False)

        // Check column types
        assert_(s.arrays_rep.g.dtype.type is np.object_)
        assert_(s.arrays_rep.h.dtype.type is np.object_)

        // Check column shapes
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 13

Non-data size: 5

Instances


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/io/tests/test_idl.py
Class Name: TestPointerStructures
Method Name: test_arrays_replicated_3d


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/interpolate/tests/test_fitpack2.py
Class Name: TestLSQBivariateSpline
Method Name: test_bilinearity


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/sparse/csgraph/tests/test_graph_components.py
Class Name:
Method Name: test_cs_graph_components


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/io/tests/test_idl.py
Class Name: TestCompressed
Method Name: test_compressed


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestCephes
Method Name: test_pdtri


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/constants/tests/test_codata.py
Class Name:
Method Name: test_find


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/cluster/tests/test_vq.py
Class Name: TestKMean
Method Name: test_kmeans2_init


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/lib/blas/tests/test_blas.py
Class Name: TestBLAS
Method Name: test_blas


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/io/tests/test_wavfile.py
Class Name:
Method Name: test_read_1


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/special/tests/test_basic.py
Class Name:
Method Name: test_legacy


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/interpolate/tests/test_fitpack2.py
Class Name: TestSmoothBivariateSpline
Method Name: test_integral


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/cluster/tests/test_vq.py
Class Name: TestKMean
Method Name: test_kmeans_lost_cluster


Project Name: scipy/scipy
Commit Name: 8eaa1b6b86c7af83b87b8a0e51044e6eaaa258b2
Time: 2013-10-06
Author: ralf.gommers@googlemail.com
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAnsari
Method Name: test_approx