summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_iterlen.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-08 04:22:35 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-08 04:22:35 (GMT)
commit27f883687ba01f571ff7cc03a3f03b94030f92ad (patch)
treedf34d183b440813256c4ff5d09b5f45b26448b01 /Lib/test/test_iterlen.py
parent0e43db5baa9e1181bfd57accfec8252b049f20dc (diff)
downloadcpython-27f883687ba01f571ff7cc03a3f03b94030f92ad.zip
cpython-27f883687ba01f571ff7cc03a3f03b94030f92ad.tar.gz
cpython-27f883687ba01f571ff7cc03a3f03b94030f92ad.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_iterlen.py')
-rw-r--r--Lib/test/test_iterlen.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_iterlen.py b/Lib/test/test_iterlen.py
index f77169f..b51263d 100644
--- a/Lib/test/test_iterlen.py
+++ b/Lib/test/test_iterlen.py
@@ -52,13 +52,13 @@ n = 10
class TestInvariantWithoutMutations(unittest.TestCase):
def test_invariant(self):
- it = self.it
- for i in reversed(xrange(1, n+1)):
- self.assertEqual(len(it), i)
- it.next()
- self.assertEqual(len(it), 0)
- self.assertRaises(StopIteration, it.next)
- self.assertEqual(len(it), 0)
+ it = self.it
+ for i in reversed(xrange(1, n+1)):
+ self.assertEqual(len(it), i)
+ it.next()
+ self.assertEqual(len(it), 0)
+ self.assertRaises(StopIteration, it.next)
+ self.assertEqual(len(it), 0)
class TestTemporarilyImmutable(TestInvariantWithoutMutations):