Skip to content

Commit

Permalink
test: Ignore pylint Unreachable code report
Browse files Browse the repository at this point in the history
  • Loading branch information
pmisik committed Jul 9, 2024
1 parent 7457d5b commit beccd1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/test/unit/process/test_buildrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_collapseRequests_no_other_request(self):
def collapseRequests_fn(master, builder, brdict1, brdict2):
# Allow all requests
self.fail("Should never be called")
# pylint: disable=unreachable
return True

self.bldr.getCollapseRequestsFn = lambda: collapseRequests_fn
Expand Down

0 comments on commit beccd1d

Please sign in to comment.