From 85a791f0fa061ec644f5bfca41ee6038eeef38eb Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Thu, 27 Mar 2014 16:55:41 +0000 Subject: Pain the bikeshed a different colour --- tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_utils.py') diff --git a/tests/test_utils.py b/tests/test_utils.py index 939845fc..d0b70663 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1624,7 +1624,7 @@ def test_raises_unsupported_algorithm_wrong_type(): def test_raises_unsupported_algorithm_wrong_reason(): # Check that it fails if the wrong reason code is raised. - with pytest.raises(pytest.fail.Exception): + with pytest.raises(AssertionError): with raises_unsupported_algorithm(None): raise UnsupportedAlgorithm("An error.", _Reasons.BACKEND_MISSING_INTERFACE) -- cgit v1.2.3