summaryrefslogtreecommitdiff
path: root/test/engine/test_bind.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-04-12 14:56:15 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-04-12 14:56:15 -0400
commit623e5b2149499d81d42936cd2907ebcc3ca48e8c (patch)
tree89906b19ae3208ef0b6066477f28c1849ddc73fe /test/engine/test_bind.py
parent09e698c6025b622de889dc11e3fbc38da11f291a (diff)
parent0f0e305d25b6da1d42259e53ebd48712dfae5f40 (diff)
downloadsqlalchemy-623e5b2149499d81d42936cd2907ebcc3ca48e8c.tar.gz
Merge remote-tracking branch 'origin/pr/163' into pr163
Diffstat (limited to 'test/engine/test_bind.py')
-rw-r--r--test/engine/test_bind.py7
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)
-
-