ยปCore Development>Code coverage>Lib/idlelib/idle_test/__init__.py

Python code coverage for Lib/idlelib/idle_test/__init__.py

#countcontent
1n/a'''idlelib.idle_test is a private implementation of test.test_idle,
2n/awhich tests the IDLE application as part of the stdlib test suite.
3n/aRun IDLE tests alone with "python -m test.test_idle".
4n/aStarting with Python 3.6, IDLE requires tcl/tk 8.5 or later.
5n/a
6n/aThis package and its contained modules are subject to change and
7n/aany direct use is at your own risk.
8n/a'''
9n/afrom os.path import dirname
10n/a
11n/adef load_tests(loader, standard_tests, pattern):
12n/a this_dir = dirname(__file__)
13n/a top_dir = dirname(dirname(this_dir))
14n/a package_tests = loader.discover(start_dir=this_dir, pattern='test*.py',
15n/a top_level_dir=top_dir)
16n/a standard_tests.addTests(package_tests)
17n/a return standard_tests