diff --git a/test/client_test.py b/test/client_test.py
index a0efcf45c8da02c6ac598f52faabbeadf4e4cc44..9932b61e72b3cdfbda0a60f53b99526d5777d61b 100644
--- a/test/client_test.py
+++ b/test/client_test.py
@@ -180,7 +180,7 @@ def test_download_output():
     client.expect_open(request_checker, b"test output contents")
     client.fetch_output(temp_file.name, ".")
 
-    with open(temp_file.name, "r") as f: 
+    with open(temp_file.name, "r") as f:
         contents = f.read(1024)
         assert contents == "test output contents", "Unxpected contents %s" % contents
 
diff --git a/test/test_utils.py b/test/test_utils.py
index 99a4f7f1739989b1088b03440023aca17ff9ced4..2f6210f4bd3cf7f457542b2c3a3902a5313db26b 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -104,7 +104,7 @@ def test_server(global_conf={}, app_conf={}, test_conf={}):
             from paste.exceptions.errormiddleware import ErrorMiddleware
             error_app = ErrorMiddleware(app.app, debug=True, error_log="errors")
         except ImportError:
-            # paste.exceptions not available for Python 3. 
+            # paste.exceptions not available for Python 3.
             error_app = app
         server = StopableWSGIServer.create(error_app)
         try: