summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_iter.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-04 05:36:56 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-04 05:36:56 (GMT)
commit527e64fd68046cb6e2ff35afaf077160346d37ff (patch)
tree3cf41f7c2d1dcaabb1e36a89981820e2e4922800 /Lib/test/test_iter.py
parent2f93e28a19e3f250e8c19f9f4334cfa76f5e3645 (diff)
downloadcpython-527e64fd68046cb6e2ff35afaf077160346d37ff.zip
cpython-527e64fd68046cb6e2ff35afaf077160346d37ff.tar.gz
cpython-527e64fd68046cb6e2ff35afaf077160346d37ff.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_iter.py')
-rw-r--r--Lib/test/test_iter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py
index 257b61d..5bd7ba4 100644
--- a/Lib/test/test_iter.py
+++ b/Lib/test/test_iter.py
@@ -648,7 +648,7 @@ class TestCase(unittest.TestCase):
try:
self.assertRaises(TypeError, f.writelines, None)
self.assertRaises(TypeError, f.writelines, 42)
-
+
f.writelines(["1\n", "2\n"])
f.writelines(("3\n", "4\n"))
f.writelines({'5\n': None})
@@ -678,14 +678,14 @@ class TestCase(unittest.TestCase):
def __iter__(self):
return Iterator(self.start, self.finish)
-
- f.writelines(Whatever(6, 6+2000))
+
+ f.writelines(Whatever(6, 6+2000))
f.close()
f = file(TESTFN)
expected = [str(i) + "\n" for i in range(1, 2006)]
self.assertEqual(list(f), expected)
-
+
finally:
f.close()
try: