tests/test_check.py: Fix unused result

We don't need to capture the function's return value here because
pytest will capture stdout from the function.
This commit is contained in:
Alan Orth 2019-08-10 23:45:41 +03:00
parent 62ef2a4489
commit e801042340
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ def test_check_uncommon_filename_extension(capsys):
value = 'file.pdf.lck'
result = check.filename_extension(value)
check.filename_extension(value)
captured = capsys.readouterr()
assert captured.out == f'Filename with uncommon extension: {value}\n'