diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-27 17:09:38 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-27 17:09:38 -0500 |
commit | 5432f818890a67a8c6c53ebdea47fd9dd7ec1ae9 (patch) | |
tree | 55431100685693af3509ee523ad90273b31b58e5 /tests/utils.py | |
parent | 6e355b5dede37e9e344a1fbb210a4838ead6a3ec (diff) | |
parent | 0fe7db62cdd2c1395733005f6a3eef02aa720552 (diff) | |
download | cryptography-5432f818890a67a8c6c53ebdea47fd9dd7ec1ae9.tar.gz cryptography-5432f818890a67a8c6c53ebdea47fd9dd7ec1ae9.tar.bz2 cryptography-5432f818890a67a8c6c53ebdea47fd9dd7ec1ae9.zip |
Merge pull request #2080 from alex/test-coverage
Simplified code in the test loaders and improved branch coverage in the x509 tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/utils.py b/tests/utils.py index 46d93646..8be5c1fa 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -397,10 +397,7 @@ def load_fips_dsa_key_pair_vectors(vector_data): elif line.startswith("[mod = L=3072"): continue - if not reading_key_data: - continue - - elif reading_key_data: + if reading_key_data: if line.startswith("P"): vectors.append({'p': int(line.split("=")[1], 16)}) elif line.startswith("Q"): |