diff --git a/tests/regressiontests/forms/tests.py b/tests/regressiontests/forms/tests.py
index 79a320c131..0852fbcf0e 100644
--- a/tests/regressiontests/forms/tests.py
+++ b/tests/regressiontests/forms/tests.py
@@ -2482,7 +2482,7 @@ demonstrate some of the library's abilities.
# SelectDateWidget ############################################################
>>> from django.newforms.extras import SelectDateWidget
->>> w = SelectDateWidget()
+>>> w = SelectDateWidget(years=('2007','2008','2009','2010','2011','2012','2013','2014','2015','2016'))
>>> print w.render('mydate', '')
>>> w.render('mydate', None) == w.render('mydate', '')
True
@@ -2594,7 +2594,6 @@ True
"""