blob: 9439a12161208c77a873d26bca75a8286310c2ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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()
|