Files
odfstudio/pyuno/qa/pytests/testpip.py
T
Xisco Fauli 47e110fc66 tdf#162786, tdf#161947: Add support for setuptools and pip
For that, just unzip the wheel files to the Lib directory

Change-Id: I3998e427aeadb840b626ebbb6ce91938de47d2b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180271
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-01-21 22:05:50 +01:00

15 lines
364 B
Python

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