From 0dcc79eae9e0af717390784bb9f790cc3e22826e Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 18 Jul 2018 18:12:15 +0800 Subject: [PATCH] improve skip msg when skipping an ECDH test in test_ec (#4355) --- tests/hazmat/primitives/test_ec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index d015e84d8afd..4e61b5d4fbd1 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -65,8 +65,8 @@ def _skip_exchange_algorithm_unsupported(backend, algorithm, curve): algorithm, curve ): pytest.skip( - "Exchange algorithm is not supported by this backend {0}".format( - backend + "Exchange with {0} curve is not supported by {1}".format( + curve.name, backend ) )