fixing codacy issues
This commit is contained in:
@ -21,7 +21,7 @@ def test_file_writer_in_context(tmpdir, lines, output):
|
||||
|
||||
context.start()
|
||||
context.recv(BEGIN, *map(Bag, lines), END)
|
||||
for i in range(len(lines)):
|
||||
for _ in range(len(lines)):
|
||||
context.step()
|
||||
context.stop()
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ def test_entrypoint():
|
||||
def test_no_command(capsys):
|
||||
with pytest.raises(SystemExit):
|
||||
entrypoint([])
|
||||
out, err = capsys.readouterr()
|
||||
_, err = capsys.readouterr()
|
||||
assert 'error: the following arguments are required: command' in err
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user