Skip to content

Commit

Permalink
make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus committed Apr 15, 2024
1 parent 2a8b6f8 commit 6893514
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions analyzer/tests/functional/analyze/test_analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,15 +827,14 @@ def __run_with_invalid_enabled_checker_name_check(self, extra_args):
codechecker_subcommand, extra_args)

def __run_with_invalid_enabled_checker_name_analyze(self, extra_args):
build_json = os.path.join(self.test_workspace, "build_success.json")
codechecker_subcommand = [self._codechecker_cmd, "analyze",
self.__get_build_json()]
return self.__run_with_invalid_enabled_checker_name_common(
codechecker_subcommand, extra_args)

def test_invalid_enabled_checker_name(self):
"""Error out in case of an invalid enabled checker."""
out, err, errcode = \
out, _, errcode = \
self.__run_with_invalid_enabled_checker_name_check([])

match = self.err_missing_checker_regex.search(out)
Expand Down Expand Up @@ -928,7 +927,6 @@ def __run_with_invalid_disabled_checker_name_check(self, extra_args):
codechecker_subcommand, extra_args)

def __run_with_invalid_disabled_checker_name_analyze(self, extra_args):
build_json = os.path.join(self.test_workspace, "build_success.json")
codechecker_subcommand = [self._codechecker_cmd, "analyze",
self.__get_build_json()]
return self.__run_with_invalid_disabled_checker_name_common(
Expand Down

0 comments on commit 6893514

Please sign in to comment.