Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy 2 DeprecationWarning #173

Open
majidaldo opened this issue Sep 25, 2024 · 2 comments
Open

numpy 2 DeprecationWarning #173

majidaldo opened this issue Sep 25, 2024 · 2 comments

Comments

@majidaldo
Copy link

.venv\Lib\site-packages\pytest_regressions\dataframe_regression.py:250: DeprecationWarning: Data type alias 'a' was deprecated in NumPy 2.0. Use the 'S' alias instead.
    assert array.dtype not in ["m", "M", "O", "S", "a", "U", "V"], (
@majidaldo
Copy link
Author

On a related note, it might be just easier to just convert a df to a dict and use generic data_regression.

@nicoddemus
Copy link
Member

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants