office-gobmx/pyuno/qa/pytests/testsetuptools.py
Xisco Fauli f9cd7e2801 tdf#161947: test setuptools is imported on mac
Change-Id: Ie0908e610b3eade41aa5e7f1953ddaa55afce68d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170173
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-09 10:28:29 +02:00

14 lines
399 B
Python

import os
import unittest
# tdf#161947: make sure importing setuptools works on all platforms
class SetupToolsTest(unittest.TestCase):
def test_setuptools_import(self):
import setuptools
# use imported setuptools module for pyflakes
with open(os.devnull, "w") as devnull:
print(str(setuptools), file=devnull)
if __name__ == '__main__':
unittest.main()