From f16afd2f6cd7d7fe46fe6f9f3673d88b65b9535d Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Wed, 8 Jun 2005 04:35:28 +0000 Subject: [PATCH] Tools/scripts/reindent.py is your friend --- Lib/test/test_dumbdbm.py | 6 +++--- Lib/test/test_posixpath.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/test/test_dumbdbm.py b/Lib/test/test_dumbdbm.py index d320110b9079..63b14b011b85 100644 --- a/Lib/test/test_dumbdbm.py +++ b/Lib/test/test_dumbdbm.py @@ -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: diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index b2d8d406b78c..3984157edf9c 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -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") -- 2.47.3