diff options
author | Eric Streeper <eric.streeper@gmail.com> | 2015-03-20 00:32:05 -0700 |
---|---|---|
committer | Eric Streeper <eric.streeper@gmail.com> | 2015-03-20 00:32:05 -0700 |
commit | 0f0e305d25b6da1d42259e53ebd48712dfae5f40 (patch) | |
tree | 6781c0be7b849a4fc3aa1eebf1fa2f7ba00168f9 /test/engine/test_bind.py | |
parent | 45876612d2342250b73a9d3d9afd2bd6008db4c6 (diff) | |
download | sqlalchemy-pr/163.tar.gz |
PEP8 cleanup in /test/enginepr/163
Diffstat (limited to 'test/engine/test_bind.py')
-rw-r--r-- | test/engine/test_bind.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/engine/test_bind.py b/test/engine/test_bind.py index 8f6c547f1..69ab721c1 100644 --- a/test/engine/test_bind.py +++ b/test/engine/test_bind.py @@ -11,6 +11,7 @@ import sqlalchemy as sa from sqlalchemy import testing from sqlalchemy.testing import fixtures + class BindTest(fixtures.TestBase): def test_bind_close_engine(self): e = testing.db @@ -76,7 +77,8 @@ class BindTest(fixtures.TestBase): ]: assert_raises_message( exc.UnboundExecutionError, - "Table object 'test_table' is not bound to an Engine or Connection.", + ("Table object 'test_table' is not bound to an Engine or " + "Connection."), meth ) @@ -163,7 +165,6 @@ class BindTest(fixtures.TestBase): finally: metadata.drop_all(bind=conn) - def test_clauseelement(self): metadata = MetaData() table = Table('test_table', metadata, @@ -198,5 +199,3 @@ class BindTest(fixtures.TestBase): if isinstance(bind, engine.Connection): bind.close() metadata.drop_all(bind=testing.db) - - |