summaryrefslogtreecommitdiff
path: root/test/testlib/tables.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-01-19 23:37:11 +0000
committerJason Kirtland <jek@discorporate.us>2008-01-19 23:37:11 +0000
commit4be99db15b7a62b37493c86da07bcc787f44a7df (patch)
treeb9d71342f22e307a08c38487d63c795039f10b96 /test/testlib/tables.py
parent21193cebe22f44982cb70ecd64743df63494b17d (diff)
downloadsqlalchemy-4be99db15b7a62b37493c86da07bcc787f44a7df.tar.gz
- Restored 2.3 compat. in lib/sqlalchemy
- Part one of test suite fixes to run on 2.3 Lots of failures still around sets; sets.Set differs from __builtin__.set particularly in the binops. We depend on set extensively now and may need to provide a corrected sets.Set subclass on 2.3.
Diffstat (limited to 'test/testlib/tables.py')
-rw-r--r--test/testlib/tables.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/testlib/tables.py b/test/testlib/tables.py
index 4ec92cc8b..33b1b20db 100644
--- a/test/testlib/tables.py
+++ b/test/testlib/tables.py
@@ -135,7 +135,10 @@ def data():
class BaseObject(object):
def __repr__(self):
- return "%s(%s)" % (self.__class__.__name__, ",".join("%s=%s" % (k, repr(v)) for k, v in self.__dict__.iteritems() if k[0] != '_'))
+ return "%s(%s)" % (self.__class__.__name__,
+ ",".join(["%s=%s" % (k, repr(v))
+ for k, v in self.__dict__.iteritems()
+ if k[0] != '_']))
class User(BaseObject):
def __init__(self):