You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/10/18 15:19:00 UTC
[jira] [Commented] (ARROW-18066) [Python][Doc] Documentation for Test Groups out of sync
[ https://issues.apache.org/jira/browse/ARROW-18066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619647#comment-17619647 ]
Joris Van den Bossche commented on ARROW-18066:
-----------------------------------------------
cc [~alenka]
> [Python][Doc] Documentation for Test Groups out of sync
> -------------------------------------------------------
>
> Key: ARROW-18066
> URL: https://issues.apache.org/jira/browse/ARROW-18066
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 10.0.0
> Reporter: Bryce Mecum
> Priority: Major
>
> In the Python documentation for [Test Groups|https://arrow.apache.org/docs/dev/developers/python.html#test-groups] it's stated:
> {quote}We have many tests that are grouped together using pytest marks. Some of these are disabled by default. To enable a test group, pass --$GROUP_NAME, e.g. --parquet. [continues]
> {quote}
> However, I get:
> {{$ pytest --parquet # from arrow/python dir}}
> {{ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]}}
> {{pytest: error: unrecognized arguments: --parquet}}
>
> Am I interpreting the docs wrong or has something changed since writing the docs?
>
> Related: `pytest --markers` only reports the full list of pytest Marks when I'm in the `arrow/python/pyarrow` directory but not `arrow/python`. When I'm in the `arrow/python/pyarrow` subdirectory, marks work as expected (ie `pytest -m parquet works`).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)