summaryrefslogtreecommitdiff
path: root/test/engine/test_processors.py
diff options
context:
space:
mode:
authorEric Streeper <eric.streeper@gmail.com>2015-03-20 00:32:05 -0700
committerEric Streeper <eric.streeper@gmail.com>2015-03-20 00:32:05 -0700
commit0f0e305d25b6da1d42259e53ebd48712dfae5f40 (patch)
tree6781c0be7b849a4fc3aa1eebf1fa2f7ba00168f9 /test/engine/test_processors.py
parent45876612d2342250b73a9d3d9afd2bd6008db4c6 (diff)
downloadsqlalchemy-pr/163.tar.gz
PEP8 cleanup in /test/enginepr/163
Diffstat (limited to 'test/engine/test_processors.py')
-rw-r--r--test/engine/test_processors.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/test/engine/test_processors.py b/test/engine/test_processors.py
index b1c482f09..f4df7827c 100644
--- a/test/engine/test_processors.py
+++ b/test/engine/test_processors.py
@@ -57,8 +57,10 @@ class PyDateProcessorTest(_DateProcessorTest):
)
)
+
class CDateProcessorTest(_DateProcessorTest):
__requires__ = ('cextensions',)
+
@classmethod
def setup_class(cls):
from sqlalchemy import cprocessors
@@ -104,7 +106,8 @@ class _DistillArgsTest(fixtures.TestBase):
def test_distill_single_list_tuples(self):
eq_(
- self.module._distill_params(([("foo", "bar"), ("bat", "hoho")],), {}),
+ self.module._distill_params(
+ ([("foo", "bar"), ("bat", "hoho")],), {}),
[('foo', 'bar'), ('bat', 'hoho')]
)
@@ -117,9 +120,7 @@ class _DistillArgsTest(fixtures.TestBase):
def test_distill_multi_list_tuple(self):
eq_(
self.module._distill_params(
- ([("foo", "bar")], [("bar", "bat")]),
- {}
- ),
+ ([("foo", "bar")], [("bar", "bat")]), {}),
([('foo', 'bar')], [('bar', 'bat')])
)
@@ -131,7 +132,8 @@ class _DistillArgsTest(fixtures.TestBase):
def test_distill_single_list_dicts(self):
eq_(
- self.module._distill_params(([{"foo": "bar"}, {"foo": "hoho"}],), {}),
+ self.module._distill_params(
+ ([{"foo": "bar"}, {"foo": "hoho"}],), {}),
[{'foo': 'bar'}, {'foo': 'hoho'}]
)
@@ -148,7 +150,6 @@ class _DistillArgsTest(fixtures.TestBase):
)
-
class PyDistillArgsTest(_DistillArgsTest):
@classmethod
def setup_class(cls):
@@ -160,8 +161,10 @@ class PyDistillArgsTest(_DistillArgsTest):
)
)
+
class CDistillArgsTest(_DistillArgsTest):
__requires__ = ('cextensions', )
+
@classmethod
def setup_class(cls):
from sqlalchemy import cutils as util