From 6cbfaba1787b17752361ae4de1fff8d0acfe62f1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 24 Apr 2017 12:54:37 -0400 Subject: [PATCH] [1.11.x] Removed obsolete Widget.format_output() in tests. Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of 851874fe0a5dd8f99c763134df0bbaca6f03d17a from master --- tests/forms_tests/field_tests/test_multivaluefield.py | 3 --- tests/forms_tests/widget_tests/test_multiwidget.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/forms_tests/field_tests/test_multivaluefield.py b/tests/forms_tests/field_tests/test_multivaluefield.py index e7d161fb5b4..3d171686189 100644 --- a/tests/forms_tests/field_tests/test_multivaluefield.py +++ b/tests/forms_tests/field_tests/test_multivaluefield.py @@ -29,9 +29,6 @@ class ComplexMultiWidget(MultiWidget): ] return [None, None, None] - def format_output(self, rendered_widgets): - return '\n'.join(rendered_widgets) - class ComplexField(MultiValueField): def __init__(self, required=True, widget=None, label=None, initial=None): diff --git a/tests/forms_tests/widget_tests/test_multiwidget.py b/tests/forms_tests/widget_tests/test_multiwidget.py index bf9ef38a6be..02cbe10c7ca 100644 --- a/tests/forms_tests/widget_tests/test_multiwidget.py +++ b/tests/forms_tests/widget_tests/test_multiwidget.py @@ -34,9 +34,6 @@ class ComplexMultiWidget(MultiWidget): ] return [None, None, None] - def format_output(self, rendered_widgets): - return '\n'.join(rendered_widgets) - class ComplexField(MultiValueField): def __init__(self, required=True, widget=None, label=None, initial=None):