We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51316d7 commit 78f3683Copy full SHA for 78f3683
conftest.py
@@ -1,9 +1,17 @@
1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2
3
+import numpy as np
4
+from astropy.utils import minversion
5
+
6
from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,
7
TESTED_VERSIONS)
8
9
10
+# Keep this until we require numpy to be >=2.0
11
+if minversion(np, "2.0.0.dev0+git20230726"):
12
+ np.set_printoptions(legacy="1.25")
13
14
15
def pytest_configure(config):
16
config.option.astropy_header = True
17
0 commit comments