mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Fixed distutils test.
This commit is contained in:
parent
9d2916cdfd
commit
6633a6606b
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ class BuildExtTestCase(support.TempdirManager,
|
||||||
def test_get_outputs(self):
|
def test_get_outputs(self):
|
||||||
tmp_dir = self.mkdtemp()
|
tmp_dir = self.mkdtemp()
|
||||||
c_file = os.path.join(tmp_dir, 'foo.c')
|
c_file = os.path.join(tmp_dir, 'foo.c')
|
||||||
self.write_file(c_file, 'void init_foo(void) {};\n')
|
self.write_file(c_file, 'void initfoo(void) {};\n')
|
||||||
ext = Extension('foo', [c_file], optional=False)
|
ext = Extension('foo', [c_file], optional=False)
|
||||||
dist = Distribution({'name': 'xx',
|
dist = Distribution({'name': 'xx',
|
||||||
'ext_modules': [ext]})
|
'ext_modules': [ext]})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue