diff --git a/wagtail/wagtailadmin/templatetags/gravatar.py b/wagtail/wagtailadmin/templatetags/gravatar.py
index c831e6cb5..a42aa78a8 100644
--- a/wagtail/wagtailadmin/templatetags/gravatar.py
+++ b/wagtail/wagtailadmin/templatetags/gravatar.py
@@ -1,12 +1,11 @@
-### gravatar.py ###############
-### place inside a 'templatetags' directory inside the top level of a Django app (not project, must be inside an app)
-### at the top of your page template include this:
-### {% load gravatar %}
-### and to use the url do this:
-###
-### or
-###
-### just make sure to update the "default" image path below
+# place inside a 'templatetags' directory inside the top level of a Django app (not project, must be inside an app)
+# at the top of your page template include this:
+# {% load gravatar %}
+# and to use the url do this:
+#
+# or
+#
+# just make sure to update the "default" image path below
import hashlib
diff --git a/wagtail/wagtailadmin/tests/test_edit_handlers.py b/wagtail/wagtailadmin/tests/test_edit_handlers.py
index f5fc307b3..2c5e42afd 100644
--- a/wagtail/wagtailadmin/tests/test_edit_handlers.py
+++ b/wagtail/wagtailadmin/tests/test_edit_handlers.py
@@ -109,7 +109,6 @@ class TestExtractPanelDefinitionsFromModelClass(TestCase):
# A class with a 'panels' property defined should return that list
result = extract_panel_definitions_from_model_class(EventPageSpeaker)
self.assertEqual(len(result), 4)
- #print repr(result)
self.assertTrue(any([isinstance(panel, ImageChooserPanel) for panel in result]))
def test_exclude(self):
diff --git a/wagtail/wagtailimages/tests/test_image_operations.py b/wagtail/wagtailimages/tests/test_image_operations.py
index 5ed6d66c3..b2896f081 100644
--- a/wagtail/wagtailimages/tests/test_image_operations.py
+++ b/wagtail/wagtailimages/tests/test_image_operations.py
@@ -274,7 +274,7 @@ class TestMinMaxOperation(ImageOperationTestCase):
filter_spec_error_tests = [
'min',
- #'hello-800x600',
+# 'hello-800x600',
'min-800',
'min-abc',
'min-800xabc',
@@ -307,7 +307,7 @@ class TestWidthHeightOperation(ImageOperationTestCase):
filter_spec_error_tests = [
'width',
- #'hello-800',
+# 'hello-800',
'width-800x600',
'width-abc',
'width-800-c100',