summaryrefslogtreecommitdiff
path: root/OpenSSL
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2015-09-05 19:33:05 +0200
committerHynek Schlawack <hs@ox.cx>2015-09-05 19:33:05 +0200
commit2c013a9529ad64644aa8318f0d54fd36a5239727 (patch)
treeb8e61a5f1b4eda89d406067417cb1b49abff8a68 /OpenSSL
parent734d302472ce39b847e89b36a8643665355810e8 (diff)
downloadpyopenssl-2c013a9529ad64644aa8318f0d54fd36a5239727.tar.gz
The lambda is not executed b/c a TypeError is raised
Diffstat (limited to 'OpenSSL')
-rw-r--r--OpenSSL/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index 69a76eb..6c2019b 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -779,7 +779,7 @@ class ContextTests(TestCase, _LoopbackMixin):
self.assertRaises(TypeError, context.set_passwd_cb, None)
self.assertRaises(
TypeError, context.set_passwd_cb, lambda: None, None, None
- )
+ ) # pragma: nocover
def test_set_passwd_cb(self):
"""