Skip to content

Commit 2e88978

Browse files
committed
[ci] fix macos-14 ci error
1 parent af338c1 commit 2e88978

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/run_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,9 @@ def test_surf2vol_fill(self):
12761276
np.arange(19, 42, 0.5),
12771277
fill=1,
12781278
)
1279-
self.assertAlmostEqual(np.sum(vol.astype(np.float32)) * 0.0001, 3.6134, 2)
1279+
self.assertAlmostEqual(
1280+
np.sum(vol.astype(np.float32)) * 0.0001, 3.6134, delta=0.01
1281+
)
12801282

12811283
def test_s2v(self):
12821284
vol = s2v(self.no, self.fc, 100, fill=1)

0 commit comments

Comments
 (0)