summaryrefslogtreecommitdiff
path: root/test/orm/fixtures.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/fixtures.py')
-rw-r--r--test/orm/fixtures.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/orm/fixtures.py b/test/orm/fixtures.py
index 33e0a419b..ed06c4d30 100644
--- a/test/orm/fixtures.py
+++ b/test/orm/fixtures.py
@@ -8,11 +8,13 @@ class Base(object):
for k in kwargs:
setattr(self, k, kwargs[k])
- def __repr__(self):
- return "%s(%s)" % (
- (self.__class__.__name__),
- ','.join(["%s=%s" % (key, repr(getattr(self, key))) for key in self.__dict__ if not key.startswith('_')])
- )
+ # TODO: add recursion checks to this
+ #def __repr__(self):
+ # return "%s(%s)" % (
+ # (self.__class__.__name__),
+ # ','.join(["%s=%s" % (key, repr(getattr(self, key))) for key in self.__dict__ if not key.startswith('_')])
+ # )
+
def __ne__(self, other):
return not self.__eq__(other)