fix pylint warnings

This commit is contained in:
Roman Zeyde
2017-04-21 22:56:50 +03:00
parent b2bc87c0c7
commit 8ba9be1780
3 changed files with 3 additions and 4 deletions

View File

@@ -41,8 +41,7 @@ def public_key_path(request):
def test_gpg_files(public_key_path): # pylint: disable=redefined-outer-name
with open(public_key_path, 'rb') as f:
packets = list(decode.parse_packets(f))
assert len(packets) > 0
assert list(decode.parse_packets(f))
def test_has_custom_subpacket():