Wes McKinney created ARROW-5817:
-----------------------------------

             Summary: [Python] Use pytest marks for Flight test to avoid 
silently skipping unit tests due to import failures
                 Key: ARROW-5817
                 URL: https://issues.apache.org/jira/browse/ARROW-5817
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Wes McKinney
             Fix For: 0.14.0


The approach used to determine whether or not Flight has been built will fail 
silently if the extension is built but there is an ImportError caused by 
linking or other issues 

https://github.com/apache/arrow/blob/master/python/pyarrow/tests/test_flight.py#L35

We should use the same "auto" approach as other optional components (see 
https://github.com/apache/arrow/blob/master/python/pyarrow/tests/conftest.py#L40)
 with the option for forced opt-in (so that ImportError does not cause silently 
skipping) so that {{--flight}} will force the tests to run if we expect them to 
work




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to