summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_clib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_build_clib.py')
-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')