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:
Antoine Pitrou committed 2020-02-24 10:23:57 +01:00
1 parent 4f75659651
commit e4363961d3
1 file changed
+3
+3
View File
@@ -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