fixing test_trimseq_zeros
@@ -67,11 +67,12 @@ class TestTrimseq(unittest.TestCase):
return xp.polynomial.polyutils.trimseq(a)
@testing.for_all_dtypes()
- @testing.numpy_cupy_array_list_equal()
+ @testing.numpy_cupy_array_equal()
def test_trimseq_zeros(self, xp, dtype):
a = xp.zeros(10, dtype)
b = xp.polynomial.polyutils.trimseq(a)
- return xp.shares_memory(a[:1], b), b
+ assert xp.shares_memory(a[:1], b) is True
+ return b
@testing.for_all_dtypes()
@testing.numpy_cupy_array_equal()
