[pytest]
# RuntimeWarning is due to scipy (or another package) that was compiled against an older numpy than is installed.
# UserWarning is due to statement: tensorflow.compat.v2.io import gfile
# DeprecationWarning is due to statement: tensorflow.compat.v2.io import gfile
# inspect.getargspec() is invoked in tensorboard/backend/event_processing/event_file_loader.py:61
# jnp.sum([]) in examples/sst2/train.py:L152 should be replaced with an ndarray.
# tostring() is deprecated: examples/lm1b/input_pipeline.py tf constant_op warning.
# Importing ABCs from collections is deprecated is in tensorflow/python/data/ops/iterator_ops.py
filterwarnings =
    error
    ignore:numpy.ufunc size changed.*:RuntimeWarning
    ignore:No GPU/TPU found, falling back to CPU.*:UserWarning
    ignore:can't resolve package from.*:ImportWarning
    ignore:the imp module is deprecated.*:DeprecationWarning
    ignore:inspect.getargspec() is deprecated since Python 3.0.*:DeprecationWarning
    ignore:jax.numpy reductions won't accept lists and tuples in future versions, only scalars and ndarrays.*:FutureWarning
    ignore:tostring() is deprecated. Use tobytes() instead.*:DeprecationWarning
    ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated.*:DeprecationWarning

[pytest]
# RuntimeWarning is due to scipy (or another package) that was compiled against an older numpy than is installed.
# UserWarning is due to statement: tensorflow.compat.v2.io import gfile
# DeprecationWarning is due to statement: tensorflow.compat.v2.io import gfile
# inspect.getargspec() is invoked in tensorboard/backend/event_processing/event_file_loader.py:61
# jnp.sum([]) in examples/sst2/train.py:L152 should be replaced with an ndarray.
# tostring() is deprecated: examples/lm1b/input_pipeline.py tf constant_op warning.
# Importing ABCs from collections is deprecated is in tensorflow/python/data/ops/iterator_ops.py
filterwarnings =
    error
    ignore:numpy.ufunc size changed.*:RuntimeWarning
    ignore:No GPU/TPU found, falling back to CPU.*:UserWarning
    ignore:can't resolve package from.*:ImportWarning
    ignore:the imp module is deprecated.*:DeprecationWarning
    ignore:inspect.getargspec() is deprecated since Python 3.0.*:DeprecationWarning
    ignore:jax.numpy reductions won't accept lists and tuples in future versions, only scalars and ndarrays.*:FutureWarning
    ignore:tostring() is deprecated. Use tobytes() instead.*:DeprecationWarning
    ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated.*:DeprecationWarning
    ignore:Explicitly requested dtype <class 'jax.numpy.lax_numpy.float64'>*:UserWarning

Fix warning about float64 types
Fix warning about float64 types
