/usr/lib/python3/dist-packages/pyutilib/workflow/tests/test_doc.py is in python3-pyutilib 5.3.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Imports
import sys
import os
from os.path import dirname, abspath, abspath
import pyutilib.th as unittest
currdir = dirname(abspath(__file__))+os.sep
datadir = os.sep.join([dirname(dirname(dirname(dirname(abspath(__file__))))),'doc','workflow','examples'])+os.sep
sys.path.insert(0, datadir)
try:
from test_example import *
finally:
sys.path.remove(datadir)
# Execute the tests
if __name__ == '__main__':
unittest.main()
|