summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-09-19 09:58:51 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-09-19 09:58:51 (GMT)
commitde2a107200e5073c7e3d6f58c88a407ac69c319d (patch)
tree54bb6d609f3dc27eb073e402491c7ff7e867c217 /Lib
parent3ad2847c0156db8838e0e531b4fb2e67ca0b153a (diff)
downloadcpython-de2a107200e5073c7e3d6f58c88a407ac69c319d.zip
cpython-de2a107200e5073c7e3d6f58c88a407ac69c319d.tar.gz
cpython-de2a107200e5073c7e3d6f58c88a407ac69c319d.tar.bz2
Fixed #6947 - SO extension varies under windows
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/tests/test_build_ext.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py
index d8d3667..94000a5 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -338,7 +338,8 @@ class BuildExtTestCase(support.TempdirManager,
cmd.distribution.package_dir = {'': 'src'}
cmd.distribution.packages = ['lxml', 'lxml.html']
curdir = os.getcwd()
- wanted = os.path.join(curdir, 'src', 'lxml', 'etree.so')
+ ext = sysconfig.get_config_var("SO")
+ wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
path = cmd.get_ext_fullpath('lxml.etree')
self.assertEquals(wanted, path)