The CI tests fail for newer pytest on account of a pytest warning, see https://travis-ci.org/github/numpy/numpy/jobs/730868650 and pytest-dev/pytest#7810. If I comment out hypothesis related code in numpy/_pytesttester.py the warning goes away. The other place hypothesis is imported is numpy/configtest.py. I seems we need to get rid of one of the imports.
Reproducing code example:
import numpy as np
<< your code here >>
Error message:
NumPy/Python version information: