diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-24 02:35:35 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-24 02:35:35 (GMT) |
commit | 77c06fbf942bf4c532d0f8d6f254882a9e5957ec (patch) | |
tree | c892e2501626f2657386eb39c524611215ded052 /Lib/bsddb | |
parent | b808c5cf2da088e66f43de61d3c5d741b134f419 (diff) | |
download | cpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.zip cpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.tar.gz cpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r-- | Lib/bsddb/dbobj.py | 1 | ||||
-rw-r--r-- | Lib/bsddb/dbshelve.py | 3 | ||||
-rw-r--r-- | Lib/bsddb/dbtables.py | 1 | ||||
-rw-r--r-- | Lib/bsddb/dbutils.py | 1 | ||||
-rw-r--r-- | Lib/bsddb/test/test_associate.py | 8 | ||||
-rw-r--r-- | Lib/bsddb/test/test_basics.py | 1 | ||||
-rw-r--r-- | Lib/bsddb/test/test_compat.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_dbobj.py | 1 | ||||
-rw-r--r-- | Lib/bsddb/test/test_dbshelve.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_dbtables.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_env_close.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_get_none.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_join.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/test/test_recno.py | 2 |
14 files changed, 5 insertions, 25 deletions
diff --git a/Lib/bsddb/dbobj.py b/Lib/bsddb/dbobj.py index 9c3e90f..10e036a 100644 --- a/Lib/bsddb/dbobj.py +++ b/Lib/bsddb/dbobj.py @@ -175,4 +175,3 @@ class DB: return apply(self._cobj.verify, args, kwargs) def set_get_returns_none(self, *args, **kwargs): return apply(self._cobj.set_get_returns_none, args, kwargs) - diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py index ab63636..6ac54b7 100644 --- a/Lib/bsddb/dbshelve.py +++ b/Lib/bsddb/dbshelve.py @@ -286,6 +286,3 @@ class DBShelfCursor: #--------------------------------------------------------------------------- - - - diff --git a/Lib/bsddb/dbtables.py b/Lib/bsddb/dbtables.py index 2c65198..4841c28 100644 --- a/Lib/bsddb/dbtables.py +++ b/Lib/bsddb/dbtables.py @@ -627,4 +627,3 @@ class bsdTableDB : if txn : txn.abort() raise TableDBError, dberror[1] - diff --git a/Lib/bsddb/dbutils.py b/Lib/bsddb/dbutils.py index d21069f..1a8bc78 100644 --- a/Lib/bsddb/dbutils.py +++ b/Lib/bsddb/dbutils.py @@ -72,4 +72,3 @@ def DeadlockWrap(function, *_args, **_kwargs): #------------------------------------------------------------------------ - diff --git a/Lib/bsddb/test/test_associate.py b/Lib/bsddb/test/test_associate.py index f59d881..305a794 100644 --- a/Lib/bsddb/test/test_associate.py +++ b/Lib/bsddb/test/test_associate.py @@ -248,10 +248,10 @@ class ShelveAssociateTestCase(AssociateTestCase): class ShelveAssociateHashTestCase(ShelveAssociateTestCase): - dbtype = db.DB_HASH + dbtype = db.DB_HASH class ShelveAssociateBTreeTestCase(ShelveAssociateTestCase): - dbtype = db.DB_BTREE + dbtype = db.DB_BTREE class ShelveAssociateRecnoTestCase(ShelveAssociateTestCase): dbtype = db.DB_RECNO @@ -287,10 +287,10 @@ class ThreadedAssociateTestCase(AssociateTestCase): class ThreadedAssociateHashTestCase(ShelveAssociateTestCase): - dbtype = db.DB_HASH + dbtype = db.DB_HASH class ThreadedAssociateBTreeTestCase(ShelveAssociateTestCase): - dbtype = db.DB_BTREE + dbtype = db.DB_BTREE class ThreadedAssociateRecnoTestCase(ShelveAssociateTestCase): dbtype = db.DB_RECNO diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py index 257b384..f2ccb8a 100644 --- a/Lib/bsddb/test/test_basics.py +++ b/Lib/bsddb/test/test_basics.py @@ -811,4 +811,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - diff --git a/Lib/bsddb/test/test_compat.py b/Lib/bsddb/test/test_compat.py index 5d7a219..2514d02 100644 --- a/Lib/bsddb/test/test_compat.py +++ b/Lib/bsddb/test/test_compat.py @@ -165,5 +165,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - - diff --git a/Lib/bsddb/test/test_dbobj.py b/Lib/bsddb/test/test_dbobj.py index ee700e3..c1b82fe 100644 --- a/Lib/bsddb/test/test_dbobj.py +++ b/Lib/bsddb/test/test_dbobj.py @@ -69,4 +69,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - diff --git a/Lib/bsddb/test/test_dbshelve.py b/Lib/bsddb/test/test_dbshelve.py index 580c75f..7705882 100644 --- a/Lib/bsddb/test/test_dbshelve.py +++ b/Lib/bsddb/test/test_dbshelve.py @@ -301,5 +301,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - - diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index a346585..bfa7586 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -233,7 +233,7 @@ class TableDBTestCase(unittest.TestCase): assert len(values) == 1, values assert values[0]['d'] == "is for dog", values assert values[0]['a'] == "is for aardvark", values - + def test_Delete(self): tabname = "test_Delete" self.tdb.CreateTable(tabname, ['x', 'y', 'z']) diff --git a/Lib/bsddb/test/test_env_close.py b/Lib/bsddb/test/test_env_close.py index 01b3516..f6b0a0d 100644 --- a/Lib/bsddb/test/test_env_close.py +++ b/Lib/bsddb/test/test_env_close.py @@ -82,5 +82,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - - diff --git a/Lib/bsddb/test/test_get_none.py b/Lib/bsddb/test/test_get_none.py index 0e1fa93..487bdf0 100644 --- a/Lib/bsddb/test/test_get_none.py +++ b/Lib/bsddb/test/test_get_none.py @@ -94,5 +94,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - - diff --git a/Lib/bsddb/test/test_join.py b/Lib/bsddb/test/test_join.py index bb5c316..00ccd36 100644 --- a/Lib/bsddb/test/test_join.py +++ b/Lib/bsddb/test/test_join.py @@ -10,5 +10,3 @@ import unittest from bsddb import db from test.test_support import verbose - - diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py index eaeeb8a..40d9fca 100644 --- a/Lib/bsddb/test/test_recno.py +++ b/Lib/bsddb/test/test_recno.py @@ -254,5 +254,3 @@ def suite(): if __name__ == '__main__': unittest.main( defaultTest='suite' ) - - |