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

Update code to resolve DeprecationWarning #3

Open
chriscarrollsmith opened this issue Apr 23, 2024 · 0 comments
Open

Update code to resolve DeprecationWarning #3

chriscarrollsmith opened this issue Apr 23, 2024 · 0 comments

Comments

@chriscarrollsmith
Copy link
Owner

================================================================================== warnings summary =================================================================================== 
tests/test_data.py::test_imf_dataset_params_list_request
tests/test_data.py::test_imf_dataset_params_list_request
  C:\Users\chris\Software\Python\imfp\.venv\Lib\site-packages\pandas\core\algorithms.py:522: DeprecationWarning: np.find_common_type is deprecated.  Please use `np.result_type` or `np.promote_types`.
  See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information.  (Deprecated NumPy 1.25)
    common = np.find_common_type([values.dtype, comps_array.dtype], [])

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
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

1 participant