summaryrefslogtreecommitdiff
path: root/test/sql/test_inspect.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-07-18 17:40:58 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-07-18 17:40:58 -0400
commitbb5f4392a4ecbcbaf4e34886a65a8bba42e227d5 (patch)
tree06e392471bc5a7dd866975530333d5a9e74f0757 /test/sql/test_inspect.py
parent0eb53b2e7936d2b0a17077a922ce1d97f102e38a (diff)
downloadsqlalchemy-bb5f4392a4ecbcbaf4e34886a65a8bba42e227d5.tar.gz
- update the flake8 rules again
- apply autopep8 + manual fixes to most of test/sql/
Diffstat (limited to 'test/sql/test_inspect.py')
-rw-r--r--test/sql/test_inspect.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/sql/test_inspect.py b/test/sql/test_inspect.py
index 8a0251498..d5a9a71ae 100644
--- a/test/sql/test_inspect.py
+++ b/test/sql/test_inspect.py
@@ -5,12 +5,13 @@ from sqlalchemy import Table, Column, Integer, MetaData
from sqlalchemy.testing import fixtures
from sqlalchemy.testing import is_
+
class TestCoreInspection(fixtures.TestBase):
def test_table(self):
t = Table('t', MetaData(),
- Column('x', Integer)
- )
+ Column('x', Integer)
+ )
is_(inspect(t), t)
assert t.is_selectable
@@ -18,8 +19,8 @@ class TestCoreInspection(fixtures.TestBase):
def test_select(self):
t = Table('t', MetaData(),
- Column('x', Integer)
- )
+ Column('x', Integer)
+ )
s = t.select()
is_(inspect(s), s)
@@ -30,4 +31,4 @@ class TestCoreInspection(fixtures.TestBase):
c = Column('x', Integer)
is_(inspect(c), c)
assert not c.is_selectable
- assert not hasattr(c, 'selectable') \ No newline at end of file
+ assert not hasattr(c, 'selectable')