Skip to content

Commit

Permalink
Remove unused variable _
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored Mar 31, 2022
1 parent b8af8be commit 8f84c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def test_runner_log_file(self):
included_plugins=included_plugins,
log_file=gen_log_file,
)
with redirect_stdout(io.StringIO()) as _:
with redirect_stdout(io.StringIO()):
runner.run([nasl_file])

compare_content = (
Expand Down Expand Up @@ -328,7 +328,7 @@ def test_runner_log_file_fail(self):
included_plugins=included_plugins,
log_file=gen_log_file,
)
with redirect_stdout(io.StringIO()) as _:
with redirect_stdout(io.StringIO()):
runner.run([nasl_file])

compare_content = (
Expand Down

0 comments on commit 8f84c32

Please sign in to comment.