summaryrefslogtreecommitdiff
path: root/pyuno/qa/pytests/testssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/qa/pytests/testssl.py')
-rw-r--r--pyuno/qa/pytests/testssl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyuno/qa/pytests/testssl.py b/pyuno/qa/pytests/testssl.py
index 6ec9875fb84f..d29066ffe39e 100644
--- a/pyuno/qa/pytests/testssl.py
+++ b/pyuno/qa/pytests/testssl.py
@@ -1,3 +1,4 @@
+import os
import unittest
@@ -6,5 +7,9 @@ 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()