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

   ## Description
   
   This PR adds documentation explaining how to test doctests in `.pxi` files.
   
   The documentation now clarifies that:
   - `.pxi` file doctests are actually tested via `lib.pyx`
   - The command pattern is: `python -m pytest --doctest-cython path/to/lib.pyx`
   - Any doctest errors in `.pxi` files will surface under `lib.pyx` in the 
test output, not under the original `.pxi` filename
   
   ## Related Issue
   
   Closes apache/arrow#49503
   
   ## Changes
   
   - Added a `.. note::` block in 
`docs/source/developers/python/development.rst` under the Doctest section


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