diff options
Diffstat (limited to 'dev-python/django-filter/files/django-filter-22.1-test-skipIf.patch')
-rw-r--r-- | dev-python/django-filter/files/django-filter-22.1-test-skipIf.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-python/django-filter/files/django-filter-22.1-test-skipIf.patch b/dev-python/django-filter/files/django-filter-22.1-test-skipIf.patch deleted file mode 100644 index 883700899175..000000000000 --- a/dev-python/django-filter/files/django-filter-22.1-test-skipIf.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/tests/rest_framework/test_filterset.py b/tests/rest_framework/test_filterset.py -index d1cb51a..b6f89cf 100644 ---- a/tests/rest_framework/test_filterset.py -+++ b/tests/rest_framework/test_filterset.py -@@ -4,7 +4,7 @@ from django.conf import settings - from django.test import TestCase - from django.test.utils import override_settings - --from django_filters.compat import is_crispy -+from django_filters.compat import crispy_forms - from django_filters.rest_framework import FilterSet, filters - from django_filters.widgets import BooleanWidget - -@@ -37,7 +37,7 @@ class FilterSetFilterForFieldTests(TestCase): - self.assertEqual(result.extra["widget"], BooleanWidget) - - --@skipIf(is_crispy(), "django_crispy_forms must be installed") -+@skipIf(crispy_forms is None, "django_crispy_forms must be installed") - @override_settings(INSTALLED_APPS=settings.INSTALLED_APPS + ("crispy_forms",)) - class CrispyFormsCompatTests(TestCase): - def test_crispy_helper(self): |