Skip to content

Commit 242677b

Browse files
STY: Apply ruff/flake8-bugbear rule B015
B015 Pointless comparison at end of function scope. Did you mean to return the expression result?
1 parent 3bdbbf8 commit 242677b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/tests/test_nipype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_nipype_info():
1919
)
2020
def test_git_hash():
2121
# removing the first "g" from gitversion
22-
get_nipype_gitversion()[1:] == get_info()["commit_hash"]
22+
assert get_nipype_gitversion()[1:] == get_info()["commit_hash"]
2323

2424

2525
def _check_no_et():

0 commit comments

Comments
 (0)