Commit d2f24d4c authored by Tarek Ziadé's avatar Tarek Ziadé

Fixed #6947 - SO extension varies under windows

parent d057f0f1
......@@ -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)
......
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