Skip to content

[FEA]: Avoid importing pytest in all cuda_bindings/examples #1530

Description

@rwgk

Is this a duplicate?

Area

cuda.bindings

Is your feature request related to a problem? Please describe.

xref: #1517 (comment)

Describe the solution you'd like

All examples should be runnable standalone. If an end user runs the example, and the headers are not found, then they'd hit this pytest import which may or may not fail right away, and even if it succeeds the next error message (coming from skip) would be confusing (they'd see "Skipped").

Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Low priority - Nice to havecuda.bindingsEverything related to the cuda.bindings moduleexampleImprovements or additions to code examples

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions