From 74c3638728339edf3a8a99dbd61875e9ce624e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 6 Nov 2010 02:44:43 +0000 Subject: Make sure each test can be run standalone (./python Lib/distutils/tests/x.py) --- tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_core.py') 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()) -- cgit v1.2.1