mirror of https://github.com/python/cpython
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
|
@ -109,7 +109,7 @@ class BuildCLibTestCase(support.TempdirManager,
|
|||
cmd = build_clib(dist)
|
||||
|
||||
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]})]
|
||||
|
||||
build_temp = os.path.join(pkg_dir, 'build')
|
||||
|
|
Loading…
Reference in New Issue