/opt/imh-python/lib/python3.9/unittest/test/testmock
NameSizeModeActions
__pycache__/-0755rm
support.py2680644editdlrm
testasync.py372060644editdlrm
testcallable.py42670644editdlrm
testhelpers.py336480644editdlrm
testmagicmethods.py162430644editdlrm
testmock.py718370644editdlrm
testpatch.py589660644editdlrm
testsealable.py49950644editdlrm
testsentinel.py13250644editdlrm
testwith.py122590644editdlrm
__init__.py4650644editdlrm
__main__.py6230644editdlrm
Edit: /opt/imh-python/lib/python3.9/unittest/test/testmock/__main__.py (623B)
import os import unittest def load_tests(loader, standard_tests, pattern): # top level directory cached on loader instance this_dir = os.path.dirname(__file__) pattern = pattern or "test*.py" # We are inside unittest.test.testmock, so the top-level is three notches up top_level_dir = os.path.dirname(os.path.dirname(os.path.dirname(this_dir))) package_tests = loader.discover(start_dir=this_dir, pattern=pattern, top_level_dir=top_level_dir) standard_tests.addTests(package_tests) return standard_tests if __name__ == '__main__': unittest.main()