File django-sekizai-pycodestyle.patch of Package python-django-sekizai

Index: django-sekizai-0.10.0/sekizai/tests.py
===================================================================
--- django-sekizai-0.10.0.orig/sekizai/tests.py
+++ django-sekizai-0.10.0/sekizai/tests.py
@@ -9,7 +9,6 @@ from django import template
 from django.conf import settings
 from django.template.loader import render_to_string
 from django.template.engine import Engine
-import pep8
 
 from sekizai import context_processors
 from sekizai.context import SekizaiContext
@@ -212,17 +211,6 @@ class SekizaiTestCase(TestCase):
         self.assertTrue(result.status, result.message)
         return rendered
 
-    def test_pep8(self):
-        sekizai_dir = os.path.dirname(os.path.abspath(__file__))
-        pep8style = pep8.StyleGuide()
-        with CaptureStdout() as stdout:
-            result = pep8style.check_files([sekizai_dir])
-            errors = stdout.getvalue()
-        self.assertEqual(
-            result.total_errors, 0,
-            "Code not PEP8 compliant:\n{0}".format(errors)
-        )
-
     def test_basic_dual_block(self):
         """
         Basic dual block testing
openSUSE Build Service is sponsored by