summaryrefslogtreecommitdiff
path: root/test/engine/test_processors.py
diff options
context:
space:
mode:
authorKhairi Hafsham <jumanjisama@gmail.com>2017-02-02 13:02:21 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2017-02-07 11:21:56 -0500
commit772374735da27df1ddb907f4a0f5085b46dbe82b (patch)
tree41f88c835a74d4665c97853ae8676a5181d61db3 /test/engine/test_processors.py
parentd71f4b47186972c5248c94ee2d04364da95a0965 (diff)
downloadsqlalchemy-772374735da27df1ddb907f4a0f5085b46dbe82b.tar.gz
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
Diffstat (limited to 'test/engine/test_processors.py')
-rw-r--r--test/engine/test_processors.py23
1 files changed, 11 insertions, 12 deletions
diff --git a/test/engine/test_processors.py b/test/engine/test_processors.py
index 47302af97..83b5a7948 100644
--- a/test/engine/test_processors.py
+++ b/test/engine/test_processors.py
@@ -34,7 +34,6 @@ class _BooleanProcessorTest(fixtures.TestBase):
)
-
class PyBooleanProcessorTest(_BooleanProcessorTest):
@classmethod
def setup_class(cls):
@@ -129,12 +128,12 @@ class PyDateProcessorTest(_DateProcessorTest):
@classmethod
def setup_class(cls):
from sqlalchemy import processors
- cls.module = type("util", (object,),
- dict(
- (k, staticmethod(v))
- for k, v in list(processors.py_fallback().items())
- )
- )
+ cls.module = type(
+ "util",
+ (object,),
+ dict((k, staticmethod(v))
+ for k, v in list(processors.py_fallback().items()))
+ )
class CDateProcessorTest(_DateProcessorTest):
@@ -233,11 +232,11 @@ class PyDistillArgsTest(_DistillArgsTest):
@classmethod
def setup_class(cls):
from sqlalchemy.engine import util
- cls.module = type("util", (object,),
- dict(
- (k, staticmethod(v))
- for k, v in list(util.py_fallback().items())
- )
+ cls.module = type(
+ "util",
+ (object,),
+ dict((k, staticmethod(v))
+ for k, v in list(util.py_fallback().items()))
)