diff --git a/test/__init__.py b/test/__init__.py
index a4a71853eb..7579a35555 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -2,6 +2,7 @@
 # The code below enables nosetests to work with i18n _() blocks
 
 import __builtin__
+import sys
 import os
 from ConfigParser import MissingSectionHeaderError
 
diff --git a/test/functional/swift.py b/test/functional/swift.py
index 465af202a7..9d395511b2 100644
--- a/test/functional/swift.py
+++ b/test/functional/swift.py
@@ -78,6 +78,7 @@ def listing_items(method):
         else:
             items = []
 
+
 class Connection(object):
     def __init__(self, config):
         for key in 'auth_host auth_port auth_ssl username password'.split():
diff --git a/test/functional/tests.py b/test/functional/tests.py
index 6afcd22a0e..a65168fd62 100644
--- a/test/functional/tests.py
+++ b/test/functional/tests.py
@@ -37,6 +37,7 @@ config = get_func_test_config()
 
 locale.setlocale(locale.LC_COLLATE, config.get('collate', 'C'))
 
+
 class Base:
     pass