summaryrefslogtreecommitdiff
path: root/tests/test_openpgp.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-01 22:17:15 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-01 22:17:15 +0100
commitc70ad5009daefa90b17f93fe0d66d48cef66113a (patch)
tree3b5cfe61b641c3df7e12c3cd8984a7a6d15050a1 /tests/test_openpgp.py
parent0169372ad1782281dc7af802aa5806135947399b (diff)
downloadgemato-c70ad5009daefa90b17f93fe0d66d48cef66113a.tar.gz
openpgp: Use assertion for home-after-close()
Diffstat (limited to 'tests/test_openpgp.py')
-rw-r--r--tests/test_openpgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py
index bbb6a8e..981f550 100644
--- a/tests/test_openpgp.py
+++ b/tests/test_openpgp.py
@@ -791,7 +791,7 @@ class OpenPGPContextManagerTest(unittest.TestCase):
def test_home_after_close(self):
with gemato.openpgp.OpenPGPEnvironment() as env:
env.close()
- with self.assertRaises(RuntimeError):
+ with self.assertRaises(AssertionError):
env.home