|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/opt/alt-old/python37/lib64/python3.7/site-packages/guppy/heapy/test/ |
Upload File : |
import importlib
import sys
autotests = (
'dependencies',
'gsl',
'Classifiers',
'heapyc',
'ER',
'OutputHandling',
'Part',
'Path',
'RefPat',
'UniSet',
'View',
)
# These are not tested here
others = (
'menuleak',
'sf',
)
def test_main(debug=False):
for name in autotests:
testname = 'guppy.heapy.test.test_'+name
try:
del sys.modules[testname]
except KeyError:
pass
x = importlib.import_module(testname)
print('imported:', testname)
f = x.test_main
f(debug=debug)
del sys.modules[testname]
if __name__ == '__main__':
test_main()