summaryrefslogtreecommitdiff
path: root/test/testlib/tables.py
diff options
context:
space:
mode:
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):