AlenkaF commented on code in PR #51294:
URL: https://github.com/apache/arrow/pull/51294#discussion_r4582250942
##########
python/pyarrow/tests/test_misc.py:
##########
@@ -290,3 +290,22 @@ def test_extension_type_constructor_errors(klass):
msg = f"Do not call {klass.__name__}'s constructor directly, use .*
instead."
with pytest.raises(TypeError, match=msg):
klass()
+
+
[email protected]
[email protected]
[email protected](("call", "argument"), [
+ ("ds.get_partition_keys(None)", "partition_expression"),
+ ("pc.field('a').equals(None)", "other"),
+])
+def test_expression_apis_reject_none_without_crashing(
Review Comment:
Can we simply remove this test? (as in all other PRs before, pytest.raises
should be enough)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]