[Python-checkins] r72562 - in python/branches/py3k: Lib/distutils/tests/test_build_clib.py

tarek.ziade python-checkins at python.org
Mon May 11 10:49:17 CEST 2009


Author: tarek.ziade
Date: Mon May 11 10:49:17 2009
New Revision: 72562

Log:
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
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/distutils/tests/test_build_clib.py

Modified: python/branches/py3k/Lib/distutils/tests/test_build_clib.py
==============================================================================
--- python/branches/py3k/Lib/distutils/tests/test_build_clib.py	(original)
+++ python/branches/py3k/Lib/distutils/tests/test_build_clib.py	Mon May 11 10:49:17 2009
@@ -109,7 +109,7 @@
         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')


More information about the Python-checkins mailing list