summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-20 05:25:39 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-20 05:25:39 (GMT)
commite1e1331a493385a65d4535453fce6a5ef8bd12e2 (patch)
treeea62d3df58212f76fc514e57ac7503c16cf5b795 /Lib/distutils/tests
parent17725410850094241d459bce50ac1e8f416cfa63 (diff)
downloadcpython-e1e1331a493385a65d4535453fce6a5ef8bd12e2.zip
cpython-e1e1331a493385a65d4535453fce6a5ef8bd12e2.tar.gz
cpython-e1e1331a493385a65d4535453fce6a5ef8bd12e2.tar.bz2
Dedent example in docstring
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.