summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-23 17:00:30 +0000
committerFred Drake <fdrake@acm.org>2000-10-23 17:00:30 +0000
commit2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (patch)
tree97ab6706e28ae3c7b070ea7eb834af2ea156118b /Lib
parent2ec80faae5ecdf3e9deb258cb6e2b37ef7ca6ce1 (diff)
downloadcpython-git-2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850.tar.gz
Use 4-space indents.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_exceptions.py16
1 files changed, 8 insertions, 8 deletions
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)