From 772374735da27df1ddb907f4a0f5085b46dbe82b Mon Sep 17 00:00:00 2001 From: Khairi Hafsham Date: Thu, 2 Feb 2017 13:02:21 -0500 Subject: Make all tests to be PEP8 compliant tested using pycodestyle version 2.2.0 Fixes: #3885 Change-Id: I5df43adc3aefe318f9eeab72a078247a548ec566 Pull-request: https://github.com/zzzeek/sqlalchemy/pull/343 --- test/sql/test_metadata.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/sql/test_metadata.py') diff --git a/test/sql/test_metadata.py b/test/sql/test_metadata.py index ef61a7e87..56ef8e628 100644 --- a/test/sql/test_metadata.py +++ b/test/sql/test_metadata.py @@ -185,7 +185,7 @@ class MetaDataTest(fixtures.TestBase, ComparesTables): eq_(getattr(fk2c, k), kw[k]) def test_check_constraint_copy(self): - r = lambda x: x + def r(x): return x c = CheckConstraint("foo bar", name='name', initially=True, @@ -2184,7 +2184,6 @@ class ConstraintTest(fixtures.TestBase): eq_(list(i.columns), []) assert i.table is t - def test_separate_decl_columns(self): m = MetaData() t = Table('t', m, Column('x', Integer)) -- cgit v1.2.1