summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/test_unp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/test_unp.py')
-rw-r--r--Lib/dos-8x3/test_unp.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/dos-8x3/test_unp.py b/Lib/dos-8x3/test_unp.py
index 1f69504..1bfd478 100644
--- a/Lib/dos-8x3/test_unp.py
+++ b/Lib/dos-8x3/test_unp.py
@@ -5,8 +5,8 @@ l = [4, 5, 6]
class Seq:
def __getitem__(self, i):
- if i >= 0 and i < 3: return i
- raise IndexError
+ if i >= 0 and i < 3: return i
+ raise IndexError
a = -1
b = -1
@@ -104,12 +104,12 @@ BozoError = 'BozoError'
class BadSeq:
def __getitem__(self, i):
- if i >= 0 and i < 3:
- return i
- elif i == 3:
- raise BozoError
- else:
- raise IndexError
+ if i >= 0 and i < 3:
+ return i
+ elif i == 3:
+ raise BozoError
+ else:
+ raise IndexError
# trigger code while not expecting an IndexError