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:
Tarek Ziadé 2009-05-11 08:45:17 +00:00
parent 3dabc10134
commit 68e27eb834
1 changed files with 1 additions and 1 deletions

View File

@ -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')