summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-05-11 08:49:17 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-05-11 08:49:17 (GMT)
commit3bd31a266b42b66f59a3dd161aea34e3441663ad (patch)
treec4d2a1c593da3af896e112e6208b8cd4dfa18fa1 /Lib/distutils
parent1262e7c7468b6a92a680161c322a0234b526e3db (diff)
downloadcpython-3bd31a266b42b66f59a3dd161aea34e3441663ad.zip
cpython-3bd31a266b42b66f59a3dd161aea34e3441663ad.tar.gz
cpython-3bd31a266b42b66f59a3dd161aea34e3441663ad.tar.bz2
Merged revisions 72560 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72560 | tarek.ziade | 2009-05-11 10:45:17 +0200 (Mon, 11 May 2009) | 1 line distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers ........
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_build_clib.py2
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 3c6643f..47d85cd 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')