diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-01 22:17:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-01 22:17:15 +0100 |
commit | c70ad5009daefa90b17f93fe0d66d48cef66113a (patch) | |
tree | 3b5cfe61b641c3df7e12c3cd8984a7a6d15050a1 /tests/test_openpgp.py | |
parent | 0169372ad1782281dc7af802aa5806135947399b (diff) | |
download | gemato-c70ad5009daefa90b17f93fe0d66d48cef66113a.tar.gz |
openpgp: Use assertion for home-after-close()
Diffstat (limited to 'tests/test_openpgp.py')
-rw-r--r-- | tests/test_openpgp.py | 2 |
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 |