1
0
Fork 0
libreoffice/pyuno/qa/pytests/testssl.py
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

15 lines
355 B
Python

import os
import unittest
# I want to ensure that import ssl works on all platforms
class SSLTest(unittest.TestCase):
def test_ssl_import(self):
import ssl
# use imported ssl module for pyflakes
with open(os.devnull, "w") as devnull:
print(str(ssl), file=devnull)
if __name__ == '__main__':
unittest.main()