Skip to content

Commit

Permalink
pushed wrong test code for pylint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dchaffey committed Oct 29, 2017
1 parent edb73cf commit da1b741
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nipyapi/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ def _pg_list(pg_flow):
})
# Not using += here due to bug in pylint
# https://github.com/PyCQA/pylint/issues/1462
r_new = r + _pg_list(li)
return r_new
r = r + _pg_list(li)
return r
return _pg_list(Canvas.flow())
2 changes: 1 addition & 1 deletion tests/test_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
test_canvas = Canvas()


class TestCanvas:
class TestCanvas(object):
def test_process_group_status(self):
r = test_canvas.process_group_status(pg_id='root', detail='names')
assert isinstance(r, dict)
Expand Down

0 comments on commit da1b741

Please sign in to comment.