]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Tools/scripts/reindent.py is your friend
authorAnthony Baxter <anthonybaxter@gmail.com>
Wed, 8 Jun 2005 04:35:28 +0000 (04:35 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Wed, 8 Jun 2005 04:35:28 +0000 (04:35 +0000)
Lib/test/test_dumbdbm.py
Lib/test/test_posixpath.py

index d320110b90793635bc1cc17010508e5b59e2a4f7..63b14b011b85728143175e14f43f117a81176a5d 100644 (file)
@@ -86,12 +86,12 @@ class DumbDBMTestCase(unittest.TestCase):
         data = open(_fname + '.dir').read()
         data = data.replace('\n', '\r\n')
         open(_fname + '.dir', 'wb').write(data)
-        
+
         f = dumbdbm.open(_fname)
         self.assertEqual(f['1'], 'hello')
         self.assertEqual(f['2'], 'hello2')
-        
-                
+
+
     def read_helper(self, f):
         keys = self.keys_helper(f)
         for key in self._dict:
index b2d8d406b78ce66731355bef6ce8391253867d22..3984157edf9c2b733edb3802e826482ca0a571f0 100644 (file)
@@ -476,7 +476,7 @@ class PosixPathTest(unittest.TestCase):
                 self.safe_rmdir(ABSTFN + "/k/y")
                 self.safe_rmdir(ABSTFN + "/k")
                 self.safe_rmdir(ABSTFN)
-        
+
         def test_realpath_resolve_first(self):
             # Bug #1213894: The first component of the path, if not absolute,
             # must be resolved too.
@@ -487,7 +487,7 @@ class PosixPathTest(unittest.TestCase):
                 os.mkdir(ABSTFN + "/k")
                 os.symlink(ABSTFN, ABSTFN + "link")
                 os.chdir(dirname(ABSTFN))
-                
+
                 base = basename(ABSTFN)
                 self.assertEqual(realpath(base + "link"), ABSTFN)
                 self.assertEqual(realpath(base + "link/k"), ABSTFN + "/k")