aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-03-27 16:55:41 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-03-27 16:55:41 +0000
commit85a791f0fa061ec644f5bfca41ee6038eeef38eb (patch)
tree8285f420269fd636e63c9152143750922e48e869 /tests/test_utils.py
parenta2aacf72744d515095ebe09d013e9348226ba0fe (diff)
downloadcryptography-85a791f0fa061ec644f5bfca41ee6038eeef38eb.tar.gz
cryptography-85a791f0fa061ec644f5bfca41ee6038eeef38eb.tar.bz2
cryptography-85a791f0fa061ec644f5bfca41ee6038eeef38eb.zip
Pain the bikeshed a different colour
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py2
1 files changed, 1 insertions, 1 deletions
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)