aboutsummaryrefslogtreecommitdiffstats
path: root/tests/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/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/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 3e5ea5f3..bdbf996f 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -74,8 +74,7 @@ def raises_unsupported_algorithm(reason):
with pytest.raises(UnsupportedAlgorithm) as exc_info:
yield exc_info
- if exc_info.value._reason is not reason:
- pytest.fail("Did not get expected reason tag for UnsupportedAlgorithm")
+ assert exc_info.value._reason is reason
def load_vectors_from_file(filename, loader):