def test_reflect_insert(self):
        """make sure list.insert() doesn't crash for refcounted objects (see #7553)
        """

        def pyfunc(con):
            con.insert(1, np.arange(4).astype(np.intp))

        self._check_element_equal(pyfunc)
make sure list.insert() doesn't crash for refcounted objects (see #7553)
        
numba/tests/test_lists.py