Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)

This commit is contained in:
Éric Araujo 2010-11-06 02:44:43 +00:00
parent 1c5054996f
commit 70ec44a773
41 changed files with 86 additions and 56 deletions

View file

@ -4,6 +4,7 @@ import sys
import os
from io import BytesIO
import subprocess
from test.support import run_unittest
from distutils import cygwinccompiler
from distutils.cygwinccompiler import (CygwinCCompiler, check_config_h,
@ -151,4 +152,4 @@ def test_suite():
return unittest.makeSuite(CygwinCCompilerTestCase)
if __name__ == '__main__':
test_support.run_unittest(test_suite())
run_unittest(test_suite())