[Python-checkins] commit of r41565 - python/branches/release24-maint/Lib/test

fred.drake python-checkins at python.org
Wed Nov 30 08:34:10 CET 2005


Author: fred.drake
Date: Wed Nov 30 08:34:04 2005
New Revision: 41565

Modified:
   python/branches/release24-maint/Lib/test/test_cmd_line.py
Log:
fix indentation; this could not have passed

Modified: python/branches/release24-maint/Lib/test/test_cmd_line.py
==============================================================================
--- python/branches/release24-maint/Lib/test/test_cmd_line.py	(original)
+++ python/branches/release24-maint/Lib/test/test_cmd_line.py	Wed Nov 30 08:34:04 2005
@@ -12,14 +12,14 @@
         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)


More information about the Python-checkins mailing list