diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-18 18:11:48 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-18 18:11:48 (GMT) |
commit | 229011d949f40c898ca4e146f3120af326a3f40d (patch) | |
tree | a804e7c1bd83270b459a55d9cc104fcb805bbefd /Lib/packaging/tests/__main__.py | |
parent | 41479450ece3bb5c01a49b5efd5d17021ca401ec (diff) | |
download | cpython-229011d949f40c898ca4e146f3120af326a3f40d.zip cpython-229011d949f40c898ca4e146f3120af326a3f40d.tar.gz cpython-229011d949f40c898ca4e146f3120af326a3f40d.tar.bz2 |
Make a number of small changes to ease the backport to distutils2
Diffstat (limited to 'Lib/packaging/tests/__main__.py')
-rw-r--r-- | Lib/packaging/tests/__main__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/packaging/tests/__main__.py b/Lib/packaging/tests/__main__.py index 0f175cf..51daba4 100644 --- a/Lib/packaging/tests/__main__.py +++ b/Lib/packaging/tests/__main__.py @@ -14,6 +14,8 @@ def test_main(): start_dir = os.path.dirname(__file__) top_dir = os.path.dirname(os.path.dirname(start_dir)) test_loader = unittest.TestLoader() + # XXX find out how to use unittest.main, to get command-line options + # (failfast, catch, etc.) run_unittest(test_loader.discover(start_dir, top_level_dir=top_dir)) finally: reap_children() |