diff options
| author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-23 17:00:29 (GMT) |
|---|---|---|
| committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-23 17:00:29 (GMT) |
| commit | f012ba42fe54253378a2784aaf7177aa36be579a (patch) | |
| tree | 44f904dd1023616f134f1e8f2cddac0185cd313e /Lib/test/test_asyncio/__main__.py | |
| parent | c4c464911ab6a65a32b8b2162aa4537003efb87b (diff) | |
| download | cpython-f012ba42fe54253378a2784aaf7177aa36be579a.zip cpython-f012ba42fe54253378a2784aaf7177aa36be579a.tar.gz cpython-f012ba42fe54253378a2784aaf7177aa36be579a.tar.bz2 | |
Issue #22002: Make full use of test discovery in test sub-packages.
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
Diffstat (limited to 'Lib/test/test_asyncio/__main__.py')
| -rw-r--r-- | Lib/test/test_asyncio/__main__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_asyncio/__main__.py b/Lib/test/test_asyncio/__main__.py index b549492..40a23a2 100644 --- a/Lib/test/test_asyncio/__main__.py +++ b/Lib/test/test_asyncio/__main__.py @@ -1,5 +1,4 @@ -from . import test_main +from . import load_tests +import unittest - -if __name__ == '__main__': - test_main() +unittest.main() |
