diff options
Diffstat (limited to 'src/distutils2/tests/test_ccompiler.py')
| -rw-r--r-- | src/distutils2/tests/test_ccompiler.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/distutils2/tests/test_ccompiler.py b/src/distutils2/tests/test_ccompiler.py index d34f4de..1f3d25d 100644 --- a/src/distutils2/tests/test_ccompiler.py +++ b/src/distutils2/tests/test_ccompiler.py @@ -5,7 +5,6 @@ from distutils2.tests import captured_stdout from distutils2.compiler.ccompiler import (gen_lib_options, CCompiler, get_default_compiler, customize_compiler) -from distutils2 import debug from distutils2.tests import support class FakeCompiler(object): @@ -34,22 +33,6 @@ class CCompilerTestCase(support.EnvironGuard, unittest2.TestCase): '-lname2'] self.assertEquals(opts, wanted) - def test_debug_print(self): - - class MyCCompiler(CCompiler): - executables = {} - - compiler = MyCCompiler() - __, stdout = captured_stdout(compiler.debug_print, 'xxx') - self.assertEquals(stdout, '') - - debug.DEBUG = True - try: - __, stdout = captured_stdout(compiler.debug_print, 'xxx') - self.assertEquals(stdout, 'xxx\n') - finally: - debug.DEBUG = False - def test_customize_compiler(self): # not testing if default compiler is not unix |
