You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2022/10/05 10:17:17 UTC

[arrow] branch master updated: ARROW-17939: [Docs][Python] Update python dev page after PyArrow C++ tests change (#14322)

This is an automated email from the ASF dual-hosted git repository.

alenka pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 1349d59c9f ARROW-17939: [Docs][Python] Update python dev page after PyArrow C++ tests change (#14322)
1349d59c9f is described below

commit 1349d59c9f767ed8732d9f5e1d54db5191a1f3df
Author: Alenka Frim <Al...@users.noreply.github.com>
AuthorDate: Wed Oct 5 12:17:09 2022 +0200

    ARROW-17939: [Docs][Python] Update python dev page after PyArrow C++ tests change (#14322)
    
    Authored-by: Alenka Frim <fr...@gmail.com>
    Signed-off-by: Alenka Frim <fr...@gmail.com>
---
 docs/source/developers/python.rst | 32 ++++++++------------------------
 1 file changed, 8 insertions(+), 24 deletions(-)

diff --git a/docs/source/developers/python.rst b/docs/source/developers/python.rst
index 3f33f2e68a..5e9f8e7085 100644
--- a/docs/source/developers/python.rst
+++ b/docs/source/developers/python.rst
@@ -80,6 +80,14 @@ run
 
 and look for the "custom options" section.
 
+.. note::
+
+   There are a few low-level tests written directly in C++. These tests are
+   implemented in `pyarrow/src/python_test.cc <https://github.com/apache/arrow/blob/master/python/pyarrow/src/python_test.cc>`_,
+   but they are also wrapped in a ``pytest``-based
+   `test module <https://github.com/apache/arrow/blob/master/python/pyarrow/tests/test_cpp_internals.py>`_
+   run automatically as part of the PyArrow test suite.
+
 Test Groups
 -----------
 
@@ -131,30 +139,6 @@ for ``.py`` files or
 for ``.pyx`` and ``.pxi`` files. In this case you will also need to
 install the `pytest-cython <https://github.com/lgpage/pytest-cython>`_ plugin.
 
-Testing PyArrow C++
--------------------
-
-Most of the tests for PyArrow are part of the ``pytest``-based test suite mentioned above,
-but a few low-level tests are written directly in C++ for historical reasons.
-Those tests can be run using ``ctest``, but you first will need to build Arrow C++
-with ``-DARROW_BUILD_TESTS=ON``.
-
-.. note::
-
-   Currently, building the PyArrow C++ unit tests does not work with the
-   googletest package from conda-forge. If you are in this situation, please
-   add ``-DGTest_SOURCE=BUNDLED`` to the CMake flags
-   when building Arrow C++.
-
-After Arrow C++ and PyArrow are built, you can navigate to the ``python/build/dist``
-folder and run ``ctest``:
-
-.. code-block::
-
-   $ pushd arrow/python/build/dist
-   $ ctest
-   $ popd
-
 Benchmarking
 ------------