Skip to content

TST: Create tests for correct __module__ overriding #17724

@seberg

Description

@seberg

We should maybe have a test for this type of thing somewhere - verifying that only objects actually in the np. namespace have __module__ set this way.

Originally posted by @eric-wieser in #17723 (comment)


This might overlap to some degree with the fact that we should probably move the sanity checks in the __array_function__ wrappers into a test rather than running them at import time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions