mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
ARROW-7915: [CI] [Python] Enable development mode in tests
Python's "development mode" enables some runtime checks and warnings that help developers spot errors in their code (such as resource leaks).
This commit is contained in:
1 parent
4f75659651
commit
e4363961d3
1 file changed
+3
@@ -25,4 +25,7 @@ export ARROW_TEST_DATA=${arrow_dir}/testing/data
|
||||
export PARQUET_TEST_DATA=${arrow_dir}/cpp/submodules/parquet-testing/data
|
||||
export LD_LIBRARY_PATH=${ARROW_HOME}/lib:${LD_LIBRARY_PATH}
|
||||
|
||||
# Enable some checks inside Python itself
|
||||
export PYTHONDEVMODE=1
|
||||
|
||||
pytest -r s --pyargs pyarrow
|
||||
Reference in new issue
Block a user