We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76fe32 commit 079ddc8Copy full SHA for 079ddc8
nibabel/conftest.py
@@ -1,5 +1,14 @@
1
+import numpy as np
2
import pytest
3
4
+from packaging.version import parse
5
+
6
# Ignore warning requesting help with nicom
7
with pytest.warns(UserWarning):
8
import nibabel.nicom
9
10
11
+def pytest_configure(config):
12
+ """Configure pytest options."""
13
+ if parse('1.26') <= parse(np.__version__):
14
+ np.set_printoptions(legacy='1.25')
0 commit comments