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 42dcd2b commit 2d75ec9Copy full SHA for 2d75ec9
fmriprep/conftest.py
@@ -26,6 +26,11 @@ def copytree_or_skip(source, target):
26
pytest.skip(f'Cannot copy {data_dir!r} into {target / data_dir.name}. Probably in a zip.')
27
28
29
+@pytest.fixture(scope='session', autouse=True)
30
+def _legacy_printoptions():
31
+ np.set_printoptions(legacy='1.21')
32
+
33
34
@pytest.fixture(autouse=True)
35
def _populate_namespace(doctest_namespace, tmp_path):
36
doctest_namespace['copytree_or_skip'] = copytree_or_skip
0 commit comments