diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2019-02-19 23:38:32 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-02-20 12:38:32 +0800 |
commit | ac1d13f43dea5ebee0506dc229cd431660916c73 (patch) | |
tree | 86b486dd681da2e15017546b4d84956215d56a76 /tests/hazmat/primitives/test_rsa.py | |
parent | 91e69f3b47aea16c4cbd0beb9a220b1bb760dfbe (diff) | |
download | cryptography-ac1d13f43dea5ebee0506dc229cd431660916c73.tar.gz cryptography-ac1d13f43dea5ebee0506dc229cd431660916c73.tar.bz2 cryptography-ac1d13f43dea5ebee0506dc229cd431660916c73.zip |
Simplify string formatting (#4757)
Diffstat (limited to 'tests/hazmat/primitives/test_rsa.py')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 65d88f54..9a0aaf1a 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -89,7 +89,7 @@ def _build_oaep_sha2_vectors(): load_vectors_from_file( os.path.join( base_path, - "oaep-{0}-{1}.txt".format( + "oaep-{}-{}.txt".format( mgf1alg.name, oaepalg.name ) ), @@ -112,7 +112,7 @@ def _skip_pss_hash_algorithm_unsupported(backend, hash_alg): ) ): pytest.skip( - "Does not support {0} in MGF1 using PSS.".format(hash_alg.name) + "Does not support {} in MGF1 using PSS.".format(hash_alg.name) ) |