Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/py/test/test_sslsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,13 @@ def test_ssl_context(self):
self._assert_connection_success(server, ssl_context=client_context)


# Add a dummy test because starting from python 3.12, if all tests in a test
# file are skipped that's considered an error.
class DummyTest(unittest.TestCase):
def test_dummy(self):
self.assertEqual(0, 0)


if __name__ == '__main__':
logging.basicConfig(level=logging.WARN)
from thrift.transport.TSSLSocket import TSSLSocket, TSSLServerSocket, _match_has_ipaddress
Expand Down