]> granicus.if.org Git - python/commitdiff
Dedent example in docstring
authorÉric Araujo <merwok@netwok.org>
Sat, 20 Aug 2011 05:25:39 +0000 (07:25 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 20 Aug 2011 05:25:39 +0000 (07:25 +0200)
Lib/distutils/tests/support.py

index 0e33827fe82c835b0d91c84b997d2ee8f99eb143..81289db4a1aab3d9ad8d6b255fec8c2c38210d20 100644 (file)
@@ -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.