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 a6bacdb commit e5a0987Copy full SHA for e5a0987
nibabel/gifti/tests/test_1.py
@@ -0,0 +1,18 @@
1
+""" Testing loading of gifti file
2
+
3
+The file is ``test_1`` because we are testing a bug where, if we try to load a
4
+file before instantiating some Gifti objects, loading fails with an
5
+AttributeError (see: https://github.com/nipy/nibabel/issues/392).
6
7
+Thus, we have to run this test before the other gifti tests to catch the gifti
8
+code unprepared.
9
+"""
10
11
+from nibabel import load
12
13
+from .test_parse_gifti_fast import DATA_FILE3
14
15
16
+def test_load_gifti():
17
+ # This expression should not raise an error
18
+ load(DATA_FILE3)
0 commit comments