diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-08 04:22:35 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-08 04:22:35 (GMT) |
commit | 27f883687ba01f571ff7cc03a3f03b94030f92ad (patch) | |
tree | df34d183b440813256c4ff5d09b5f45b26448b01 /Lib/test/test_iterlen.py | |
parent | 0e43db5baa9e1181bfd57accfec8252b049f20dc (diff) | |
download | cpython-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.py | 14 |
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): |