mirror of
https://github.com/python/cpython.git
synced 2025-11-28 22:18:54 +00:00
distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers
This commit is contained in:
parent
3dabc10134
commit
68e27eb834
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class BuildCLibTestCase(support.TempdirManager,
|
||||||
cmd = build_clib(dist)
|
cmd = build_clib(dist)
|
||||||
|
|
||||||
foo_c = os.path.join(pkg_dir, 'foo.c')
|
foo_c = os.path.join(pkg_dir, 'foo.c')
|
||||||
self.write_file(foo_c, 'int main(void) { return 1;}')
|
self.write_file(foo_c, 'int main(void) { return 1;}\n')
|
||||||
cmd.libraries = [('foo', {'sources': [foo_c]})]
|
cmd.libraries = [('foo', {'sources': [foo_c]})]
|
||||||
|
|
||||||
build_temp = os.path.join(pkg_dir, 'build')
|
build_temp = os.path.join(pkg_dir, 'build')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue