]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix indentation; this could not have passed
authorFred Drake <fdrake@acm.org>
Wed, 30 Nov 2005 07:34:04 +0000 (07:34 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 30 Nov 2005 07:34:04 +0000 (07:34 +0000)
Lib/test/test_cmd_line.py

index 16c56204ad8be03d89f76536571383a5b390eac6..20e4afa6f7840e396ba98d28bb02895fc7f664b3 100644 (file)
@@ -12,14 +12,14 @@ class CmdLineTest(unittest.TestCase):
         outfp.close()
         return data
 
-     def exit_code(self, cmd_line):
-         return subprocess.call([sys.executable, cmd_line], stderr=subprocess.PIPE)
+    def exit_code(self, cmd_line):
+        return subprocess.call([sys.executable, cmd_line], stderr=subprocess.PIPE)
 
     def test_directories(self):
          if sys.platform == 'win32':
              # Exit code for "python .", Error 13: permission denied = 2
              expected_exit_code = 2
-          else:
+         else:
              # Linux has no problem with "python .", Exit code = 0
              expected_exit_code = 0
          self.assertEqual(self.exit_code('.'), expected_exit_code)