Silence a warning that shows up on OpenBSD. Inspired by:
https://github.com/numpy/numpy/pull/5020

Index: scipy/special/tests/test_basic.py
--- scipy/special/tests/test_basic.py.orig
+++ scipy/special/tests/test_basic.py
@@ -4048,7 +4048,8 @@ def test_xlog1py():
             if x == 0 and not np.isnan(y):
                 return x
             else:
-                return x * np.log1p(y)
+                with np.errstate(invalid="ignore", divide="ignore"):
+                    return x * np.log1p(y)
 
     z1 = np.asarray([(0,0), (0, np.nan), (0, np.inf), (1.0, 2.0),
                      (1, 1e-30)], dtype=float)
