fixing codacy issues

This commit is contained in:
Romain Dorgueil
2017-05-01 11:02:28 +02:00
parent 204135e5e0
commit 670f4e61d1
9 changed files with 10 additions and 24 deletions

View File

@ -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()

View File

@ -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