please pylint with a docstring and newline

This commit is contained in:
Derek Arnold
2024-09-15 16:27:40 -05:00
parent 34f9be255e
commit 2026212a00

View File

@@ -652,9 +652,10 @@ def test_fuzz_fromStr(valstr):
assert isinstance(result, str)
def test_shorthex():
"""Test the shortest hex string representations"""
result = fromStr('0x0')
assert result == b'\x00'
result = fromStr('0x5')
assert result == b'\x05'
result = fromStr('0xffff')
assert result == b'\xff\xff'
assert result == b'\xff\xff'