AlenkaF opened a new issue, #49503:
URL: https://github.com/apache/arrow/issues/49503

   ### Describe the enhancement requested
   
   Running `python -m pytest --doctest-cython` directly on `.pxi` can't work 
because Cython `.pxi` files are included in `lib.pyx` at compile time.          
                                
                                                                                
                                     
   In order to run doctests on .pxi files, doctest should be run on `lib.pyx` 
where they are compiled into, with `python -m pytest --doctest-cython 
path-to/lib.pyx`.
   
   Also the errors will surface under `lib.pyx`, not the original `.pxi` 
filename.
   
   We should add this info to the documentation:
   https://arrow.apache.org/docs/developers/python/development.html#doctest
   
   
   
   
   
   
   ### Component(s)
   
   Python, Documentation


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