pytest.ini 605 B

123456789101112
  1. ; Usage of setup.cfg is not recommended unless for very simple use cases.
  2. ; https://docs.pytest.org/en/latest/reference/customize.html
  3. [pytest]
  4. asyncio_mode = auto
  5. ; Apparently, gevent is enabling "flush to zero":
  6. ; https://github.com/numpy/numpy/issues/20895
  7. ; Suppress the corresponding warnings:
  8. filterwarnings =
  9. ignore:The value of the smallest subnormal for <class 'numpy.float32'> type is zero.:UserWarning
  10. ignore:The value of the smallest subnormal for <class 'numpy.float64'> type is zero.:UserWarning
  11. ignore:coroutine 'test_async_actor.<locals>.foo' was never awaited:RuntimeWarning