danepitkin commented on code in PR #40160:
URL: https://github.com/apache/arrow/pull/40160#discussion_r1508240496
##########
python/pyarrow/tests/test_scalars.py:
##########
@@ -565,26 +563,38 @@ def test_list(ty, klass):
s[2]
-def test_list_from_numpy():
- s = pa.scalar(np.array([1, 2, 3], dtype=np.int64()))
- assert s.type == pa.list_(pa.int64())
[email protected]('ty', [
+ pa.list_(pa.int64()),
+ pa.large_list(pa.int64()),
+ pa.list_view(pa.int64()),
+ pa.large_list_view(pa.int64())
+])
+def test_list_from_numpy(ty):
+ s = pa.scalar(np.array([1, 2, 3], dtype=np.int64()), type=ty)
Review Comment:
Good catch! Will update
--
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]