Skip to content

Commit b86e0ff

Browse files
committed
Ignore numpy deprecation warning
1 parent c8c601d commit b86e0ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pytest.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[pytest]
2+
filterwarnings =
3+
error
4+
ignore:.*(\b(pkg_resources\.declare_namespace|np\.bool8)\b).*:DeprecationWarning
5+
ignore::UserWarning:arviz.data.inference_data
6+
ignore::DeprecationWarning:pkg_resources
7+
ignore:ml_dtypes.float8_e4m3b11 is deprecated. Use ml_dtypes.float8_e4m3b11fnuz:DeprecationWarning
8+
ignore:np.find_common_type is deprecated. Please use `np.result_type` or `np.promote_types`:DeprecationWarning

0 commit comments

Comments
 (0)