diff options
author | Alex Grönholm <alex.gronholm+git@nextday.fi> | 2012-08-06 03:18:25 +0300 |
---|---|---|
committer | Alex Grönholm <alex.gronholm+git@nextday.fi> | 2012-08-06 03:18:25 +0300 |
commit | 826364f3bb19abca0e1e6a92266abb017f5481f4 (patch) | |
tree | 3e9a391b52371267d2fb0069355a396ba7651902 /tests/__init__.py | |
parent | b82bee8578a6380527b579948e366ec542685f93 (diff) | |
download | redis-py-826364f3bb19abca0e1e6a92266abb017f5481f4.tar.gz |
Cleaned up code for PEP 8 compliance
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 56227ad..777e77a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,5 @@ import unittest + from server_commands import ServerCommandsTestCase from connection_pool import ConnectionPoolTestCase from pipeline import PipelineTestCase @@ -6,12 +7,12 @@ from lock import LockTestCase from pubsub import PubSubTestCase, PubSubRedisDownTestCase from encoding import PythonParserEncodingTestCase, HiredisEncodingTestCase -use_hiredis = False try: import hiredis use_hiredis = True except ImportError: - pass + use_hiredis = False + def all_tests(): suite = unittest.TestSuite() |