dianaclarke commented on a change in pull request #9738:
URL: https://github.com/apache/arrow/pull/9738#discussion_r596059886



##########
File path: python/pyarrow/tests/test_table.py
##########
@@ -271,7 +271,9 @@ def ne(xarrs, yarrs):
     eq([a, c], [d])
     ne([c, a], [a, c])
 
-    assert not pa.chunked_array([], type=pa.int32()).equals(None)
+    # ARROW-4822
+    with pytest.raises(AttributeError):
+        pa.chunked_array([], type=pa.int32()).equals(None)

Review comment:
       Oh, I just saw your edit: `table.equals(None) can still raise TypeError 
though.`
   
   Are you okay with this? This is how it was before.
   
   ```
   >>> import pyarrow
   >>> table = pyarrow.chunked_array([], type=pyarrow.int32())
   >>> table.equals(None)
   False
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to