Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fce970a

Browse files
author
Tarek Ziadé
committed
Merged revisions 69366 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r69366 | tarek.ziade | 2009-02-06 14:27:38 +0100 (Fri, 06 Feb 2009) | 1 line Fixed #5167: test_customize_compiler does not apply under non unix compilers ........
1 parent 9b6ddb8 commit fce970a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lib/distutils/tests/test_sysconfig.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""Tests for distutils.dist."""
22

33
from distutils import sysconfig
4+
from distutils.ccompiler import get_default_compiler
5+
46
import os
57
import unittest
68

@@ -41,6 +43,10 @@ def test_get_config_vars(self):
4143

4244
def test_customize_compiler(self):
4345

46+
# not testing if default compiler is not unix
47+
if get_default_compiler() != 'unix':
48+
return
49+
4450
os.environ['AR'] = 'xxx'
4551

4652
# make sure AR gets caught

0 commit comments

Comments
 (0)