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_dep_util.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_dep_util.py')
| -rw-r--r-- | tests/test_dep_util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_dep_util.py b/tests/test_dep_util.py index d81d9143..390ed9b6 100644 --- a/tests/test_dep_util.py +++ b/tests/test_dep_util.py @@ -6,6 +6,7 @@ import time from distutils.dep_util import newer, newer_pairwise, newer_group from distutils.errors import DistutilsFileError from distutils.tests import support +from test.support import run_unittest class DepUtilTestCase(support.TempdirManager, unittest.TestCase): @@ -77,4 +78,4 @@ def test_suite(): return unittest.makeSuite(DepUtilTestCase) if __name__ == "__main__": - unittest.main(defaultTest="test_suite") + run_unittest(test_suite()) |
