summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-01-01 10:51:15 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-01-01 11:11:24 -0500
commit748bf710fdeeed327933a5e7c277c7f79f6053a6 (patch)
tree292759e2bc75732a965cdf544abfb98b787bbd6a /lib/sqlalchemy/testing
parent4e7c789331c9ccf86ad0040175764d361d21b4f3 (diff)
downloadsqlalchemy-748bf710fdeeed327933a5e7c277c7f79f6053a6.tar.gz
Source base cleanups
in trying to apply 2020 copyright to files, the pre-commit hooks complain about random file issues. - remove old corrections.py utility, this had something to do with repairing refs in the sphinx docs - run pre commit hooks on all files - formatting adjustments to work around code formatting collisions (long import lines that zimports can't rewrite correctly) Change-Id: I260744866f69e902eb93665c7c728ee94d3371a2
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r--lib/sqlalchemy/testing/engines.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py
index acc888933..d5a49af87 100644
--- a/lib/sqlalchemy/testing/engines.py
+++ b/lib/sqlalchemy/testing/engines.py
@@ -303,9 +303,7 @@ def mock_engine(dialect_name=None):
d = engine.dialect
return "\n".join(str(s.compile(dialect=d)) for s in engine.mock)
- engine = create_mock_engine(
- dialect_name + "://", executor
- )
+ engine = create_mock_engine(dialect_name + "://", executor)
assert not hasattr(engine, "mock")
engine.mock = buffer
engine.assert_sql = assert_sql