Skip to content

Commit bed545f

Browse files
committed
checking if giversion returns anything
1 parent 238a579 commit bed545f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/tests/test_nipype.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ def test_nipype_info():
1212

1313

1414
def test_git_hash():
15-
#removing the first "g" from gitversion
16-
get_nipype_gitversion()[1:] == get_info()['commit_hash']
15+
if get_nipype_gitversion():
16+
# removing the first "g" from gitversion
17+
get_nipype_gitversion()[1:] == get_info()['commit_hash']

0 commit comments

Comments
 (0)