diff options
author | Guido van Rossum <guido@python.org> | 1998-03-26 19:42:58 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-03-26 19:42:58 +0000 |
commit | 41360a4696f488e49e5409b3b1baf1fff6ae0044 (patch) | |
tree | 9c9b73b7446cc9fc36e09038bf26d889bb5b6f24 /Lib/test/test_unpack.py | |
parent | cd0f59ea0824ad6f897f05c2db4d4471e47e6063 (diff) | |
download | cpython-git-41360a4696f488e49e5409b3b1baf1fff6ae0044.tar.gz |
Mass check-in after untabifying all files that need it.
Diffstat (limited to 'Lib/test/test_unpack.py')
-rw-r--r-- | Lib/test/test_unpack.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py index 1f695048a1..1bfd47840b 100644 --- a/Lib/test/test_unpack.py +++ b/Lib/test/test_unpack.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 |