Skip to content

Commit 4a1734c

Browse files
committed
ENH: Remove unused namedtuple definition in test
Remove unused `namedtuple` definition in test. Fixes: ``` test/test_gpr.py:31: error: First argument to namedtuple() should be "GradientTablePatch", not "gtab" [name-match] ``` raised for example in: https://github.com/nipreps/nifreeze/actions/runs/12437972140/job/34728973936#step:8:129
1 parent 6ab795b commit 4a1734c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_gpr.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,13 @@
2020
#
2121
# https://www.nipreps.org/community/licensing/
2222
#
23-
from collections import namedtuple
2423

2524
import numpy as np
2625
import pytest
2726
from dipy.io import read_bvals_bvecs
2827

2928
from nifreeze.model import gpr
3029

31-
GradientTablePatch = namedtuple("gtab", ["bvals", "bvecs"])
32-
33-
3430
THETAS = np.linspace(0, np.pi / 2, num=50)
3531
EXPECTED_EXPONENTIAL = [
3632
1.0,

0 commit comments

Comments
 (0)