f9cd7e2801
Change-Id: Ie0908e610b3eade41aa5e7f1953ddaa55afce68d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170173 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
14 lines
399 B
Python
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()
|