From: Tarek Ziadé Date: Mon, 11 May 2009 08:45:17 +0000 (+0000) Subject: distutils.test_build_clib added a new line at the end of the file, to avoid a warning... X-Git-Tag: v2.7a1~1213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68e27eb8347978914641ca9c0e971ae1817e5257;p=python distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers --- diff --git a/Lib/distutils/tests/test_build_clib.py b/Lib/distutils/tests/test_build_clib.py index 3c6643f354..47d85cd8b4 100644 --- a/Lib/distutils/tests/test_build_clib.py +++ b/Lib/distutils/tests/test_build_clib.py @@ -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')