Skip to content

memory policy warning in fits with numpy 1.22.0.dev #12324

@nstarman

Description

@nstarman

Description

See https://github.com/astropy/astropy/runs/4042351752?check_suite_focus=true

RuntimeWarning: Trying to dealloc data, but a memory policy is not set. If you take ownership of the data, you must set a base owning the data (e.g. a PyCapsule).

This appears in astropy/io/fits/tests/test_image.py

Steps to Reproduce

Run the CI with a fix for #12322, e.g. #12323

System Details

Python 3.10 CI

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