Skip to content

[async rest] Document how to see skipped tests #16258

Open

Description

@ohmayr

Currently, we skip tests for async REST in the following way:

if not HAS_ASYNC_REST_EXTRA:
        pytest.skip("the library must be installed with the `async_rest` extra to test this feature.")

However, the message does not show up when the test is skipped during a nox session.

Investigate and document how to see the skip messages when a test is run in a nox session and skipped using pytest.skip. In some cases we should use mark.skipif: https://docs.pytest.org/en/stable/reference/reference.html#pytest-mark-skipif-ref.

Activity

  1. added
    type: process
    priority: p3
    on Oct 4, 2024
  2. parthea commented on Mar 26, 2026

    @parthea
    Contributor

    Transferring to google-cloud-python as the code for gapic-generator will be migrated there.

  3. added this to the Async REST GA milestone on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p3type: process

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions