diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-05 13:00:21 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-05 18:00:06 -0500 |
commit | e282257555ebc7abfeb92427a27b497baa4e1f09 (patch) | |
tree | e19657ad767dd8f8346bd7954d8e163519ec06c0 /test/orm/test_collection.py | |
parent | 38e1ef63e929b344b01887d2e4c693c70093980f (diff) | |
download | sqlalchemy-flake8_12.tar.gz |
- flake8 refactor - test_ormflake8_12
A full rewrite of all imports and pep8 formatting using zimports, black,
commits are broken into sections.
Directories included in this commit:
test/orm/ test/ext/
did not fully merge this one, needs to be done from scratch
Change-Id: I22b42d81bbc35c3a4a8ad4e48dbc78c363cdd4e3
(cherry picked from commit 380f75c051314e615694cdb9186e8ac7de128131)
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: |