Skip to content

Commit 319f23f

Browse files
author
Mathieu Scheltienne
committed
try simpler
1 parent 079ddc8 commit 319f23f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

nibabel/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import numpy as np
22
import pytest
33

4-
from packaging.version import parse
5-
64
# Ignore warning requesting help with nicom
75
with pytest.warns(UserWarning):
86
import nibabel.nicom
97

108

119
def pytest_configure(config):
1210
"""Configure pytest options."""
13-
if parse('1.26') <= parse(np.__version__):
14-
np.set_printoptions(legacy='1.25')
11+
np.set_printoptions(legacy=125)

0 commit comments

Comments
 (0)