diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-23 17:00:30 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-23 17:00:30 (GMT) |
commit | 2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (patch) | |
tree | 97ab6706e28ae3c7b070ea7eb834af2ea156118b /Lib/test | |
parent | 2ec80faae5ecdf3e9deb258cb6e2b37ef7ca6ce1 (diff) | |
download | cpython-2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850.zip cpython-2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850.tar.gz cpython-2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850.tar.bz2 |
Use 4-space indents.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_exceptions.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 076f470..73c2489 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) |