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/sql/test_query.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/sql/test_query.py')
-rw-r--r-- | test/sql/test_query.py | 72 |
1 files changed, 34 insertions, 38 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 13f3b01ff..2726b3f3c 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -1,43 +1,39 @@ -from sqlalchemy.testing import ( - eq_, - assert_raises_message, - assert_raises, - is_, - in_, - not_in_, -) +from sqlalchemy import and_ +from sqlalchemy import asc +from sqlalchemy import bindparam +from sqlalchemy import cast +from sqlalchemy import desc +from sqlalchemy import exc +from sqlalchemy import except_ +from sqlalchemy import ForeignKey +from sqlalchemy import func +from sqlalchemy import INT +from sqlalchemy import Integer +from sqlalchemy import intersect +from sqlalchemy import literal +from sqlalchemy import literal_column +from sqlalchemy import MetaData +from sqlalchemy import not_ +from sqlalchemy import or_ +from sqlalchemy import select +from sqlalchemy import sql +from sqlalchemy import String from sqlalchemy import testing -from sqlalchemy.testing import fixtures, engines -from sqlalchemy import ( - exc, - sql, - func, - select, - String, - Integer, - MetaData, - and_, - ForeignKey, - union, - intersect, - except_, - union_all, - VARCHAR, - INT, - text, - bindparam, - literal, - not_, - literal_column, - desc, - asc, - TypeDecorator, - or_, - cast, - tuple_, -) +from sqlalchemy import text +from sqlalchemy import tuple_ +from sqlalchemy import TypeDecorator +from sqlalchemy import union +from sqlalchemy import union_all +from sqlalchemy import VARCHAR from sqlalchemy.engine import default -from sqlalchemy.testing.schema import Table, Column +from sqlalchemy.testing import assert_raises_message +from sqlalchemy.testing import engines +from sqlalchemy.testing import eq_ +from sqlalchemy.testing import fixtures +from sqlalchemy.testing import is_ +from sqlalchemy.testing.schema import Column +from sqlalchemy.testing.schema import Table + # ongoing - these are old tests. those which are of general use # to test a dialect are being slowly migrated to |