[Python-checkins] python/dist/src/Lib/test test_dumbdbm.py, 1.10.10.1, 1.10.10.2 test_posixpath.py, 1.12.2.1, 1.12.2.2
anthonybaxter@users.sourceforge.net
anthonybaxter at users.sourceforge.net
Wed Jun 8 06:35:30 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14610/test
Modified Files:
Tag: release24-maint
test_dumbdbm.py test_posixpath.py
Log Message:
Tools/scripts/reindent.py is your friend
Index: test_dumbdbm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_dumbdbm.py,v
retrieving revision 1.10.10.1
retrieving revision 1.10.10.2
diff -u -d -r1.10.10.1 -r1.10.10.2
--- test_dumbdbm.py 7 Jun 2005 19:57:01 -0000 1.10.10.1
+++ test_dumbdbm.py 8 Jun 2005 04:35:28 -0000 1.10.10.2
@@ -86,12 +86,12 @@
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: test_posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_posixpath.py,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- test_posixpath.py 3 Jun 2005 14:31:49 -0000 1.12.2.1
+++ test_posixpath.py 8 Jun 2005 04:35:28 -0000 1.12.2.2
@@ -476,7 +476,7 @@
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 @@
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")
More information about the Python-checkins
mailing list