diff options
-rw-r--r-- | tests/test_utils.py | 1 | ||||
-rw-r--r-- | tests/utils.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index e68f6a7f..a9bb6a87 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -369,6 +369,7 @@ def test_load_hash_vectors(): vector_data = textwrap.dedent(""" # http://tools.ietf.org/html/rfc1321 + [irrelevant] Len = 0 Msg = 00 diff --git a/tests/utils.py b/tests/utils.py index cf255334..03b780f8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -127,7 +127,7 @@ def load_hash_vectors(vector_data): for line in vector_data: line = line.strip() - if not line or line.startswith("#"): + if not line or line.startswith("#") or line.startswith("["): continue if line.startswith("Len"): |