Commit 1db73ee6 authored by Tarek Ziadé's avatar Tarek Ziadé

Fixed #5167: test_customize_compiler does not apply under non unix compilers

parent 7f0b8ac0
"""Tests for distutils.dist."""
from distutils import sysconfig
from distutils.ccompiler import get_default_compiler
import os
import unittest
......@@ -41,6 +43,10 @@ class SysconfigTestCase(unittest.TestCase):
def test_customize_compiler(self):
# not testing if default compiler is not unix
if get_default_compiler() != 'unix':
return
os.environ['AR'] = 'xxx'
# make sure AR gets caught
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment