]> granicus.if.org Git - python/commitdiff
Fix inconsistent use of tab/space in indentation.
authorThomas Wouters <thomas@python.org>
Sun, 30 Jul 2000 15:38:35 +0000 (15:38 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 30 Jul 2000 15:38:35 +0000 (15:38 +0000)
Lib/test/test_mmap.py

index 44d28f13a73afee8316fe644382e0cf999ab5e37..73c1a15b16d1dfd6da49e78a5faf066ed63b97c2 100644 (file)
@@ -105,14 +105,14 @@ def test_both():
         pass
     else:
         # resize() is supported
-       assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
-       # Check that we can no longer seek beyond the new size.
-       try:
-               m.seek(513,0)
-       except ValueError:
-               pass
-       else:
-               assert 0, 'Could seek beyond the new size'
+        assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
+        # Check that we can no longer seek beyond the new size.
+        try:
+            m.seek(513,0)
+        except ValueError:
+            pass
+        else:
+            assert 0, 'Could seek beyond the new size'
     
     m.close()
     os.unlink("foo")