mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
[2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f from master
This commit is contained in:
@@ -317,7 +317,7 @@ class SelectDateWidgetTest(WidgetTest):
|
||||
def test_selectdate_empty_label(self):
|
||||
w = SelectDateWidget(years=('2014',), empty_label='empty_label')
|
||||
|
||||
# Rendering the default state with empty_label setted as string.
|
||||
# Rendering the default state with empty_label set as string.
|
||||
self.assertInHTML('<option selected value="">empty_label</option>', w.render('mydate', ''), count=3)
|
||||
|
||||
w = SelectDateWidget(years=('2014',), empty_label=('empty_year', 'empty_month', 'empty_day'))
|
||||
|
||||
Reference in New Issue
Block a user