Fedora Account System
Red Hat Associate
Red Hat Customer
A number of tests have been consistently failing in the scipy package when built in ELN for the last few months. Please fix this package so that it builds again in ELN. Reproducible: Always Steps to Reproduce: Build scipy for ELN, e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=123657934 Actual Results: =================================== FAILURES =================================== ____________________ TestCOO.test_multiple_ellipsis_slicing ____________________ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f47045593b0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f47045593b0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ____________________ TestDIA.test_multiple_ellipsis_slicing ____________________ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f470455b980> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f470455b980> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ____________________ TestBSR.test_multiple_ellipsis_slicing ____________________ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f47042a21c0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f47042a21c0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ______________ TestBSRNonCanonical.test_multiple_ellipsis_slicing ______________ self = <scipy.sparse.tests.test_base.TestBSRNonCanonical object at 0x7f4703b21d10> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 100 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.TestBSRNonCanonical object at 0x7f4703b21d10> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ______________ TestCOONonCanonical.test_multiple_ellipsis_slicing ______________ self = <scipy.sparse.tests.test_base.TestCOONonCanonical object at 0x7f4703a98550> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.TestCOONonCanonical object at 0x7f4703a98550> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed __ Test64Bit.test_resiliency_limit_10[TestBSR-test_multiple_ellipsis_slicing] __ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46deae3ed0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703a9a760> cls = <class 'scipy.sparse.tests.test_base.TestBSR'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_limit_10(self, cls, method_name): > self._check_resiliency(cls, method_name, maxval_limit=10) scipy/sparse/tests/test_base.py:5015: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-207>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46deae3ed0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed __ Test64Bit.test_resiliency_limit_10[TestCOO-test_multiple_ellipsis_slicing] __ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46de2c6800> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47045196d0> cls = <class 'scipy.sparse.tests.test_base.TestCOO'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_limit_10(self, cls, method_name): > self._check_resiliency(cls, method_name, maxval_limit=10) scipy/sparse/tests/test_base.py:5015: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-495>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46de2c6800> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed __ Test64Bit.test_resiliency_limit_10[TestDIA-test_multiple_ellipsis_slicing] __ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46dd69c2d0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703b943c0> cls = <class 'scipy.sparse.tests.test_base.TestDIA'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_limit_10(self, cls, method_name): > self._check_resiliency(cls, method_name, maxval_limit=10) scipy/sparse/tests/test_base.py:5015: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-1393>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46dd69c2d0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_random[TestBSR-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46dd1cbc50> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703e9af80> cls = <class 'scipy.sparse.tests.test_base.TestBSR'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_random(self, cls, method_name): # bsr_matrix.eliminate_zeros relies on csr_matrix constructor # not making copies of index arrays --- this is not # necessarily true when we pick the index data type randomly > self._check_resiliency(cls, method_name, random=True) scipy/sparse/tests/test_base.py:5022: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-2285>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46dd1cbc50> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_random[TestCOO-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46dcc30960> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703c9e170> cls = <class 'scipy.sparse.tests.test_base.TestCOO'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_random(self, cls, method_name): # bsr_matrix.eliminate_zeros relies on csr_matrix constructor # not making copies of index arrays --- this is not # necessarily true when we pick the index data type randomly > self._check_resiliency(cls, method_name, random=True) scipy/sparse/tests/test_base.py:5022: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-2573>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46dcc30960> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_random[TestDIA-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46dcbba8f0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4704373980> cls = <class 'scipy.sparse.tests.test_base.TestDIA'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_random(self, cls, method_name): # bsr_matrix.eliminate_zeros relies on csr_matrix constructor # not making copies of index arrays --- this is not # necessarily true when we pick the index data type randomly > self._check_resiliency(cls, method_name, random=True) scipy/sparse/tests/test_base.py:5022: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-3471>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46dcbba8f0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_32[TestBSR-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46dc571540> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47041b6a30> cls = <class 'scipy.sparse.tests.test_base.TestBSR'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_32(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int32) scipy/sparse/tests/test_base.py:5026: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-4363>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46dc571540> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_32[TestCOO-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46de954d70> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47040d1c20> cls = <class 'scipy.sparse.tests.test_base.TestCOO'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_32(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int32) scipy/sparse/tests/test_base.py:5026: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-4651>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46de954d70> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_32[TestDIA-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46d2b4a620> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703f8b430> cls = <class 'scipy.sparse.tests.test_base.TestDIA'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_32(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int32) scipy/sparse/tests/test_base.py:5026: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-5549>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46d2b4a620> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_64[TestBSR-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46d0156c60> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47038ce4e0> cls = <class 'scipy.sparse.tests.test_base.TestBSR'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_64(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int64) scipy/sparse/tests/test_base.py:5030: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-6441>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46d0156c60> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_64[TestCOO-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46dd04e990> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47037ed6d0> cls = <class 'scipy.sparse.tests.test_base.TestCOO'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_64(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int64) scipy/sparse/tests/test_base.py:5030: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-6729>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46dd04e990> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed ___ Test64Bit.test_resiliency_all_64[TestDIA-test_multiple_ellipsis_slicing] ___ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46d359bac0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47036b6ee0> cls = <class 'scipy.sparse.tests.test_base.TestDIA'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_resiliency_all_64(self, cls, method_name): > self._check_resiliency(cls, method_name, fixed_dtype=np.int64) scipy/sparse/tests/test_base.py:5030: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-7627>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46d359bac0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed _________ Test64Bit.test_no_64[TestBSR-test_multiple_ellipsis_slicing] _________ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46c410e210> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) scipy/sparse/tests/test_base.py:2589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <5x10 sparse matrix of type '<class 'numpy.int64'>' with 49 stored elements (blocksize = 1x1) in Block Sparse Row format> key = (Ellipsis, Ellipsis) def __getitem__(self,key): > raise NotImplementedError E NotImplementedError scipy/sparse/_bsr.py:336: NotImplementedError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47035e9590> cls = <class 'scipy.sparse.tests.test_base.TestBSR'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_no_64(self, cls, method_name): > self._check_resiliency(cls, method_name, assert_32bit=True) scipy/sparse/tests/test_base.py:5034: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-8519>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestBSR object at 0x7f46c410e210> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed _________ Test64Bit.test_no_64[TestCOO-test_multiple_ellipsis_slicing] _________ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46c42bc3c0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'coo_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f47035ffde0> cls = <class 'scipy.sparse.tests.test_base.TestCOO'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_no_64(self, cls, method_name): > self._check_resiliency(cls, method_name, assert_32bit=True) scipy/sparse/tests/test_base.py:5034: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-8807>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestCOO object at 0x7f46c42bc3c0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed _________ Test64Bit.test_no_64[TestDIA-test_multiple_ellipsis_slicing] _________ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46c7f6eee0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) with pytest.deprecated_call(match='removed in v1.13'): > assert_array_equal(a[..., ...].toarray(), b[:, :].A) E TypeError: 'dia_matrix' object is not subscriptable scipy/sparse/tests/test_base.py:2589: TypeError During handling of the above exception, another exception occurred: self = <scipy.sparse.tests.test_base.Test64Bit object at 0x7f4703402940> cls = <class 'scipy.sparse.tests.test_base.TestDIA'> method_name = 'test_multiple_ellipsis_slicing' @pytest.mark.parametrize('cls,method_name', cases_64bit()) def test_no_64(self, cls, method_name): > self._check_resiliency(cls, method_name, assert_32bit=True) scipy/sparse/tests/test_base.py:5034: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ scipy/sparse/tests/test_base.py:5011: in _check_resiliency check(cls, method_name) <decorator-gen-9705>:2: in check ??? scipy/sparse/tests/test_base.py:156: in deco return func(*a, **kw) scipy/sparse/tests/test_base.py:5006: in check getattr(instance, method_name)() scipy/sparse/tests/test_base.py:3617: in wrapper return fc(*a, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <scipy.sparse.tests.test_base.TestDIA object at 0x7f46c7f6eee0> def test_multiple_ellipsis_slicing(self): b = asmatrix(arange(50).reshape(5,10)) a = self.spcreator(b) > with pytest.deprecated_call(match='removed in v1.13'): E Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. E Emitted warnings: []. scipy/sparse/tests/test_base.py:2588: Failed Expected Results: Tests succeed or are skipped, and build succeeds.
*** This bug has been marked as a duplicate of bug 2293918 ***