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 c41faad commit 89203bbCopy full SHA for 89203bb
nibabel/freesurfer/tests/test_io.py
@@ -56,7 +56,7 @@ def test_geometry():
56
assert_equal(coords.shape[0], faces.max() + 1)
57
58
# Test quad with sphere
59
- with clear_and_catch_warnings() as w:
+ with clear_and_catch_warnings():
60
warnings.filterwarnings('always', category=DeprecationWarning)
61
surf_path = pjoin(data_path, "surf", "%s.%s" % ("lh", "sphere"))
62
coords, faces, volume_info, create_stamp = \
@@ -66,7 +66,6 @@ def test_geometry():
66
assert_equal(0, len(volume_info))
67
assert_equal(u'created by greve on Thu Jun 8 19:17:51 2006',
68
create_stamp)
69
- assert_equal(len(w), 2)
70
71
# Test equivalence of freesurfer- and nibabel-generated triangular files
72
# with respect to read_geometry()
0 commit comments