diff options
| author | Éric Araujo <merwok@netwok.org> | 2010-11-06 02:44:43 +0000 |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2010-11-06 02:44:43 +0000 |
| commit | 74c3638728339edf3a8a99dbd61875e9ce624e7b (patch) | |
| tree | af31077e8a8c8fc9c0baf2b9f172daa4ff7a91eb /tests/test_core.py | |
| parent | 522ffa25d2d5d28511e8e104ff7497a36705365e (diff) | |
| download | python-setuptools-git-74c3638728339edf3a8a99dbd61875e9ce624e7b.tar.gz | |
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
Diffstat (limited to 'tests/test_core.py')
| -rw-r--r-- | tests/test_core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index e937b45a..47fae245 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -6,7 +6,7 @@ import os import shutil import sys import test.support -from test.support import captured_stdout +from test.support import captured_stdout, run_unittest import unittest from distutils.tests import support @@ -105,4 +105,4 @@ def test_suite(): return unittest.makeSuite(CoreTestCase) if __name__ == "__main__": - unittest.main(defaultTest="test_suite") + run_unittest(test_suite()) |
