Use recwarn
rather than with pytest.warns(None)
#449
Merged
recwarn
rather than with pytest.warns(None)
#449