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 11afc4a commit 283a580Copy full SHA for 283a580
surfer/tests/test_viz.py
@@ -1,3 +1,4 @@
1
+import gc
2
import os
3
import os.path as op
4
from os.path import join as pjoin
@@ -210,6 +211,17 @@ def test_data():
210
211
brain.close()
212
213
214
+@requires_fsaverage()
215
+def test_close():
216
+ """Test that close and del actually work."""
217
+ _set_backend()
218
+ brain = Brain('fsaverage', 'both', 'inflated')
219
+ brain.close()
220
+ brain.__del__()
221
+ del brain
222
+ gc.collect()
223
+
224
225
@requires_fsaverage()
226
def test_data_limits():
227
"""Test handling of data limits."""
0 commit comments