D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
python34
/
lib64
/
python3.4
/
idlelib
/
idle_test
/
Filename :
__init__.py
back
Copy
from os.path import dirname def load_tests(loader, standard_tests, pattern): this_dir = dirname(__file__) top_dir = dirname(dirname(this_dir)) package_tests = loader.discover(start_dir=this_dir, pattern='test*.py', top_level_dir=top_dir) standard_tests.addTests(package_tests) return standard_tests