summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_build_ext.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-06-05 06:05:19 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-06-05 06:05:19 (GMT)
commitd64b2bae9b4d1b761cd16f75e3fe3e9c19533b3e (patch)
treecac5baf3e31b67e39cb9b69d982958cc9419db06 /Lib/packaging/tests/test_command_build_ext.py
parentb6471db8a76416b2eb49fe9b02c6f9f9a6502b4d (diff)
parente13e662244b4915e933eb2c84bc50705f99f5c4a (diff)
downloadcpython-d64b2bae9b4d1b761cd16f75e3fe3e9c19533b3e.zip
cpython-d64b2bae9b4d1b761cd16f75e3fe3e9c19533b3e.tar.gz
cpython-d64b2bae9b4d1b761cd16f75e3fe3e9c19533b3e.tar.bz2
merge heads.
Diffstat (limited to 'Lib/packaging/tests/test_command_build_ext.py')
-rw-r--r--Lib/packaging/tests/test_command_build_ext.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py
index fba27c7..9729559 100644
--- a/Lib/packaging/tests/test_command_build_ext.py
+++ b/Lib/packaging/tests/test_command_build_ext.py
@@ -265,7 +265,7 @@ class BuildExtTestCase(support.TempdirManager,
def test_get_outputs(self):
tmp_dir = self.mkdtemp()
c_file = os.path.join(tmp_dir, 'foo.c')
- self.write_file(c_file, 'void PyInit_foo(void) {};\n')
+ self.write_file(c_file, 'void PyInit_foo(void) {}\n')
ext = Extension('foo', [c_file], optional=False)
dist = Distribution({'name': 'xx',
'ext_modules': [ext]})
@@ -370,8 +370,8 @@ def test_suite():
src = _get_source_filename()
if not os.path.exists(src):
if verbose:
- print ('test_build_ext: Cannot find source code (test'
- ' must run in python build dir)')
+ print('test_command_build_ext: Cannot find source code (test'
+ ' must run in python build dir)')
return unittest.TestSuite()
else:
return unittest.makeSuite(BuildExtTestCase)