From: Fred Drake Date: Mon, 23 Oct 2000 17:00:30 +0000 (+0000) Subject: Use 4-space indents. X-Git-Tag: v2.1a1~841 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850;p=python Use 4-space indents. --- diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 076f4704e4..73c2489022 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -36,14 +36,14 @@ fp.close() fp = open(TESTFN, 'r') savestdin = sys.stdin try: - try: - sys.stdin = fp - x = raw_input() - except EOFError: - pass + try: + sys.stdin = fp + x = raw_input() + except EOFError: + pass finally: - sys.stdin = savestdin - fp.close() + sys.stdin = savestdin + fp.close() r(IOError) try: open('this file does not exist', 'r') @@ -76,7 +76,7 @@ except NameError: pass r(OverflowError) x = 1 try: - while 1: x = x+x + while 1: x = x+x except OverflowError: pass r(RuntimeError)