mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00

We often forget to put the per-test-case decorators, resulting in test failures in cases not covered by github CI (e.g. Cloud TPU tests). This change filters the "experimental feature" warnings by default.
17 lines
715 B
INI
17 lines
715 B
INI
[pytest]
|
|
filterwarnings =
|
|
error
|
|
ignore:No GPU/TPU found, falling back to CPU.:UserWarning
|
|
ignore:outfeed_receiver is unnecessary and deprecated:DeprecationWarning
|
|
# xmap
|
|
ignore:xmap is an experimental feature and probably has bugs!
|
|
# The rest are for experimental/jax_to_tf
|
|
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning
|
|
ignore:can't resolve package from __spec__ or __package__:ImportWarning
|
|
ignore:Using or importing the ABCs.*:DeprecationWarning
|
|
# jax2tf tests due to mix of JAX and TF
|
|
ignore:numpy.ufunc size changed
|
|
ignore:.*experimental feature
|
|
doctest_optionflags = NUMBER NORMALIZE_WHITESPACE
|
|
addopts = --doctest-glob="*.rst"
|