From: Fred Drake Date: Wed, 30 Nov 2005 07:34:04 +0000 (+0000) Subject: fix indentation; this could not have passed X-Git-Tag: v2.4.3c1~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e39983bf2018f58d9f249f0066b1636cea2d95a1;p=thirdparty%2FPython%2Fcpython.git fix indentation; this could not have passed --- diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 16c56204ad8b..20e4afa6f784 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -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)