aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_tcp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py
index 8a3299b6..289ed72f 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -224,7 +224,7 @@ class TestSSLUpstreamCertVerificationWBadServerCert(tservers.ServerTestBase):
c.connect()
tutils.raises(
- tcp.NetLibError,
+ tcp.NetLibInvalidCertificateError,
c.convert_to_ssl,
verify_options=SSL.VERIFY_PEER,
ca_pemfile=tutils.test_data.path("data/verificationcerts/trusted.pem"))