From adaf3b0021ee88f3721196df9b123e24e08f2857 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 3 Sep 2016 13:04:26 -0400 Subject: make this test assert the right thing. (#3133) right now it just always skips --- tests/hazmat/primitives/test_x963_vectors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/hazmat/primitives') diff --git a/tests/hazmat/primitives/test_x963_vectors.py b/tests/hazmat/primitives/test_x963_vectors.py index b09d1653..4a945d47 100644 --- a/tests/hazmat/primitives/test_x963_vectors.py +++ b/tests/hazmat/primitives/test_x963_vectors.py @@ -62,4 +62,5 @@ class TestX963(object): xkdf.verify(key, key_data) def test_unsupported_hash(self, backend): - _skip_hashfn_unsupported(backend, DummyHashAlgorithm()) + with pytest.raises(pytest.skip.Exception): + _skip_hashfn_unsupported(backend, DummyHashAlgorithm()) -- cgit v1.2.3