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 bed545f commit 6445accCopy full SHA for 6445acc
nipype/tests/test_nipype.py
@@ -1,5 +1,6 @@
1
from .. import get_info
2
from ..info import get_nipype_gitversion
3
+import pytest
4
5
6
def test_nipype_info():
@@ -11,7 +12,8 @@ def test_nipype_info():
11
12
assert exception_not_raised
13
14
15
+@pytest.mark.skipif(not get_nipype_gitversion(),
16
+ reason="not able to get version from get_nipype_gitversion")
17
def test_git_hash():
- if get_nipype_gitversion():
- # removing the first "g" from gitversion
- get_nipype_gitversion()[1:] == get_info()['commit_hash']
18
+ # removing the first "g" from gitversion
19
+ get_nipype_gitversion()[1:] == get_info()['commit_hash']
0 commit comments