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/dialect/oracle/test_reflection.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/dialect/oracle/test_reflection.py')
-rw-r--r-- | test/dialect/oracle/test_reflection.py | 77 |
1 files changed, 25 insertions, 52 deletions
diff --git a/test/dialect/oracle/test_reflection.py b/test/dialect/oracle/test_reflection.py index a88703ab0..6c36c0a6b 100644 --- a/test/dialect/oracle/test_reflection.py +++ b/test/dialect/oracle/test_reflection.py @@ -1,62 +1,35 @@ # coding: utf-8 -from sqlalchemy.testing import eq_, is_ from sqlalchemy import exc -from sqlalchemy.sql import table -from sqlalchemy.testing import fixtures, AssertsCompiledSQL +from sqlalchemy import FLOAT +from sqlalchemy import ForeignKey +from sqlalchemy import ForeignKeyConstraint +from sqlalchemy import Index +from sqlalchemy import inspect +from sqlalchemy import INTEGER +from sqlalchemy import Integer +from sqlalchemy import MetaData +from sqlalchemy import Numeric +from sqlalchemy import PrimaryKeyConstraint +from sqlalchemy import select +from sqlalchemy import String from sqlalchemy import testing -from sqlalchemy import ( - Integer, - Text, - LargeBinary, - Unicode, - UniqueConstraint, - Index, - MetaData, - select, - inspect, - ForeignKey, - String, - func, - TypeDecorator, - bindparam, - Numeric, - TIMESTAMP, - CHAR, - text, - literal_column, - VARCHAR, - create_engine, - Date, - NVARCHAR, - ForeignKeyConstraint, - Sequence, - Float, - DateTime, - cast, - UnicodeText, - union, - except_, - type_coerce, - or_, - outerjoin, - DATE, - NCHAR, - outparam, - PrimaryKeyConstraint, - FLOAT, - INTEGER, -) -from sqlalchemy.dialects.oracle.base import ( - NUMBER, - BINARY_DOUBLE, - BINARY_FLOAT, - DOUBLE_PRECISION, -) +from sqlalchemy import text +from sqlalchemy import Unicode +from sqlalchemy import UniqueConstraint +from sqlalchemy.dialects.oracle.base import BINARY_DOUBLE +from sqlalchemy.dialects.oracle.base import BINARY_FLOAT +from sqlalchemy.dialects.oracle.base import DOUBLE_PRECISION +from sqlalchemy.dialects.oracle.base import NUMBER from sqlalchemy.testing import assert_raises +from sqlalchemy.testing import AssertsCompiledSQL +from sqlalchemy.testing import eq_ +from sqlalchemy.testing import fixtures +from sqlalchemy.testing import is_ from sqlalchemy.testing.engines import testing_engine -from sqlalchemy.testing.schema import Table, Column +from sqlalchemy.testing.schema import Column +from sqlalchemy.testing.schema import Table class MultiSchemaTest(fixtures.TestBase, AssertsCompiledSQL): |