diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-06 01:19:47 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-06 18:23:11 -0500 |
| commit | 1e278de4cc9a4181e0747640a960e80efcea1ca9 (patch) | |
| tree | 13d0c035807613bfa07e734acad79b9c843cb8b0 /test/orm/inheritance/test_single.py | |
| parent | 1e1a38e7801f410f244e4bbb44ec795ae152e04e (diff) | |
| download | sqlalchemy-1e278de4cc9a4181e0747640a960e80efcea1ca9.tar.gz | |
Post black reformatting
Applied on top of a pure run of black -l 79 in
I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9, this set of changes
resolves all remaining flake8 conditions for those codes
we have enabled in setup.cfg.
Included are resolutions for all remaining flake8 issues
including shadowed builtins, long lines, import order, unused
imports, duplicate imports, and docstring issues.
Change-Id: I4f72d3ba1380dd601610ff80b8fb06a2aff8b0fe
Diffstat (limited to 'test/orm/inheritance/test_single.py')
| -rw-r--r-- | test/orm/inheritance/test_single.py | 50 |
1 files changed, 40 insertions, 10 deletions
diff --git a/test/orm/inheritance/test_single.py b/test/orm/inheritance/test_single.py index 13e1937a4..aae9312d4 100644 --- a/test/orm/inheritance/test_single.py +++ b/test/orm/inheritance/test_single.py @@ -1,12 +1,26 @@ -from sqlalchemy.testing import eq_ -from sqlalchemy import * -from sqlalchemy.orm import * - -from sqlalchemy import testing -from test.orm import _fixtures -from sqlalchemy.testing import fixtures, AssertsCompiledSQL -from sqlalchemy.testing.schema import Table, Column +from sqlalchemy import ForeignKey +from sqlalchemy import func from sqlalchemy import inspect +from sqlalchemy import Integer +from sqlalchemy import literal +from sqlalchemy import literal_column +from sqlalchemy import String +from sqlalchemy import testing +from sqlalchemy.orm import aliased +from sqlalchemy.orm import Bundle +from sqlalchemy.orm import class_mapper +from sqlalchemy.orm import create_session +from sqlalchemy.orm import joinedload +from sqlalchemy.orm import mapper +from sqlalchemy.orm import relationship +from sqlalchemy.orm import Session +from sqlalchemy.orm import sessionmaker +from sqlalchemy.orm import subqueryload +from sqlalchemy.testing import AssertsCompiledSQL +from sqlalchemy.testing import eq_ +from sqlalchemy.testing import fixtures +from sqlalchemy.testing.schema import Column +from sqlalchemy.testing.schema import Table class SingleInheritanceTest(testing.AssertsCompiledSQL, fixtures.MappedTest): @@ -615,7 +629,15 @@ class RelationshipToSingleTest( pass def test_of_type(self): - JuniorEngineer, Company, companies, Manager, Employee, employees, Engineer = ( + ( + JuniorEngineer, + Company, + companies, + Manager, + Employee, + employees, + Engineer, + ) = ( self.classes.JuniorEngineer, self.classes.Company, self.tables.companies, @@ -1026,7 +1048,15 @@ class RelationshipToSingleTest( ) def test_relationship_to_subclass(self): - JuniorEngineer, Company, companies, Manager, Employee, employees, Engineer = ( + ( + JuniorEngineer, + Company, + companies, + Manager, + Employee, + employees, + Engineer, + ) = ( self.classes.JuniorEngineer, self.classes.Company, self.tables.companies, |
