diff --git a/tests/forms_tests/widget_tests/test_radioselect.py b/tests/forms_tests/widget_tests/test_radioselect.py index a861ccf0f3..5e5cea9d35 100644 --- a/tests/forms_tests/widget_tests/test_radioselect.py +++ b/tests/forms_tests/widget_tests/test_radioselect.py @@ -179,7 +179,7 @@ class RadioSelectTest(ChoiceWidgetTest): def test_compare_to_str(self): """ - The value is compared to its str() + The value is compared to its str(). """ html = """
@@ -235,21 +235,21 @@ class RadioSelectTest(ChoiceWidgetTest): yield (i, i) html = """ -
-
- -
-
- -
-
- -
-
- -
-
- """ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ """ widget = self.widget(choices=get_choices()) self.check_html(widget, "num", 3, html=html) @@ -292,7 +292,7 @@ class RadioSelectTest(ChoiceWidgetTest): def test_choices_optgroup(self): """ - Choices can be nested one level in order to create HTML optgroups + Choices can be nested one level in order to create HTML optgroups. """ html = """