diff options
Diffstat (limited to 'test/orm/test_collection.py')
-rw-r--r-- | test/orm/test_collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_collection.py b/test/orm/test_collection.py index 3a908d2d9..f33df5dc3 100644 --- a/test/orm/test_collection.py +++ b/test/orm/test_collection.py @@ -78,8 +78,8 @@ class CollectionsTest(fixtures.ORMTest): @classmethod def dictable_entity(cls, a=None, b=None, c=None): - id = cls._entity_id = cls._entity_id + 1 - return cls.Entity(a or str(id), b or "value %s" % id, c) + id_ = cls._entity_id = cls._entity_id + 1 + return cls.Entity(a or str(id_), b or "value %s" % id, c) def _test_adapter(self, typecallable, creator=None, to_set=None): if creator is None: |