AFOliveira opened a new pull request, #55585:
URL: https://github.com/apache/arrow/pull/55585

   ### Rationale for this change
   
   `test_asarray` is marked both `pandas` and `nopandas`. Exactly one of those 
groups is enabled in any run, so the test is always skipped. Its body has gone 
stale meanwhile: it uses the removed `Int64Value` alias and compares Scalars 
with Python ints.
   
   ### What changes are included in this PR?
   
   - Replace the two marks with `@pytest.mark.numpy`, so the test runs with and 
without pandas.
   - Update the body to the current Scalar API (`as_py()`, `pa.Int64Scalar`).
   
   ### Are these changes tested?
   
   The change is to a test. On x86-64 against the 26.0.1 wheel, the old body 
fails at the `tolist()` assertion and the new test passes. Not run against a 
build of `main`.
   
   #55264 touches the same lines of this test.
   
   ### Are there any user-facing changes?
   
   No.
   
   ### Was AI used for this PR?
   
   PR code and description written by:
   
   - [ ] Human
   - [x] AI
   
   Reviewed before submission by:
   
   - [ ] Human
   - [x] AI
   - [ ] Not reviewed
   
   * GitHub Issue: #55486
   


-- 
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]

Reply via email to