summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2007-12-13 21:56:52 +0000
committerJason Kirtland <jek@discorporate.us>2007-12-13 21:56:52 +0000
commit94355aebe6758c4c393c41302adb70bfee9cec34 (patch)
tree6fd88e94d6de29744621b2d6fc50bbf95af0f78d
parentc0f48e83833daa1e65593721af011a11ccd2b947 (diff)
downloadsqlalchemy-94355aebe6758c4c393c41302adb70bfee9cec34.tar.gz
Fixed some __repr__'s attempting to %d their not-yet-assigned primary key ids.
-rw-r--r--test/orm/inheritance/poly_linked_list.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/inheritance/poly_linked_list.py b/test/orm/inheritance/poly_linked_list.py
index 1b14b4426..bdec083d3 100644
--- a/test/orm/inheritance/poly_linked_list.py
+++ b/test/orm/inheritance/poly_linked_list.py
@@ -45,7 +45,7 @@ class PolymorphicCircularTest(ORMTest):
if data is not None:
self.data = data
def __repr__(self):
- return "%s(%d, %s, %s)" % (self.__class__.__name__, self.id, repr(str(self.name)), repr(self.data))
+ return "%s(%s, %s, %s)" % (self.__class__.__name__, self.id, repr(str(self.name)), repr(self.data))
class Table1B(Table1):
pass
@@ -60,7 +60,7 @@ class PolymorphicCircularTest(ORMTest):
def __init__(self, data):
self.data = data
def __repr__(self):
- return "%s(%d, %s)" % (self.__class__.__name__, self.id, repr(str(self.data)))
+ return "%s(%s, %s)" % (self.__class__.__name__, self.id, repr(str(self.data)))
try:
# this is how the mapping used to work. ensure that this raises an error now