From 2026212a00665aea576937055b22309f8cb38c24 Mon Sep 17 00:00:00 2001 From: Derek Arnold Date: Sun, 15 Sep 2024 16:27:40 -0500 Subject: [PATCH] please pylint with a docstring and newline --- meshtastic/tests/test_util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshtastic/tests/test_util.py b/meshtastic/tests/test_util.py index ac8fa15..236e787 100644 --- a/meshtastic/tests/test_util.py +++ b/meshtastic/tests/test_util.py @@ -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' \ No newline at end of file + assert result == b'\xff\xff'