diff --git a/tests/test_connection.py b/tests/test_connection.py index c8009cd09..f9377e23c 100755 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -1928,11 +1928,16 @@ def test_ssl_attribute(self): self.assertIsInstance(self.conn.info.ssl_attribute(attrib), str) else: for attrib in attribs: + # Behaviour changed in PostgreSQL 15 + if attrib == "library": + continue self.assertIsNone(self.conn.info.ssl_attribute(attrib)) self.assertIsNone(self.conn.info.ssl_attribute('wat')) for attrib in attribs: + if attrib == "library": + continue self.assertIsNone(self.bconn.info.ssl_attribute(attrib))