[SQL-CVS] r4639 - SQLObject/branches/1.5/sqlobject/tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2013-08-14 17:14:33
|
Author: phd Date: Wed Aug 14 11:14:24 2013 New Revision: 4639 Log: Removed unused workaround for old Python Modified: SQLObject/branches/1.5/sqlobject/tests/dbtest.py Modified: SQLObject/branches/1.5/sqlobject/tests/dbtest.py ============================================================================== --- SQLObject/branches/1.5/sqlobject/tests/dbtest.py Wed Aug 14 11:11:12 2013 (r4638) +++ SQLObject/branches/1.5/sqlobject/tests/dbtest.py Wed Aug 14 11:14:24 2013 (r4639) @@ -216,13 +216,6 @@ for name, value in kw.items(): setattr(self, name, value) -def d(**kw): - """ - Because ``dict(**kw)`` doesn't work in Python 2.2, this is a - replacement. - """ - return kw - def inserts(cls, data, schema=None): """ Creates a bunch of rows. @@ -317,5 +310,5 @@ logger.addHandler(hdlr) __all__ = ['getConnection', 'getConnectionURI', 'setupClass', 'Dummy', 'raises', - 'd', 'inserts', 'supports', 'deprecated_module', + 'inserts', 'supports', 'deprecated_module', 'setup_module', 'teardown_module', 'setupLogging'] |