diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-11 08:45:17 +0000 |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-11 08:45:17 +0000 |
commit | 68e27eb8347978914641ca9c0e971ae1817e5257 (patch) | |
tree | 436155574d1e9b601342ec76a293963884ef85d0 | |
parent | 3dabc10134558b4d87e7988133fcbd91fc05f85e (diff) | |
download | cpython-git-68e27eb8347978914641ca9c0e971ae1817e5257.tar.gz |
distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers
-rw-r--r-- | Lib/distutils/tests/test_build_clib.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |