summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-20 18:02:04 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-20 18:02:04 (GMT)
commit87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f (patch)
tree4a0a344bc6af54dcdcfea4ff7ede62b87aa724dc /Lib/distutils/tests
parent86333e987ed9fa95ca0a2002be32a7611672d898 (diff)
parent36aa372f55840dedd15c27bbd038f40e7540e3a0 (diff)
downloadcpython-87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f.zip
cpython-87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f.tar.gz
cpython-87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f.tar.bz2
Merge 3.2
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/support.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/tests/support.py b/Lib/distutils/tests/support.py
index 0e33827..81289db 100644
--- a/Lib/distutils/tests/support.py
+++ b/Lib/distutils/tests/support.py
@@ -136,9 +136,9 @@ def copy_xxmodule_c(directory):
Example use:
- def test_compile(self):
- copy_xxmodule_c(self.tmpdir)
- self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
+ def test_compile(self):
+ copy_xxmodule_c(self.tmpdir)
+ self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
If the source file can be found, it will be copied to *directory*. If not,
the test will be skipped. Errors during copy are not caught.