Fixed test failure on python 3.x.
This commit is contained in:
parent
a7443c24a3
commit
7244a8d0ae
|
@ -648,7 +648,7 @@ class DateTimePickerSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
|
||||||
self.admin_login(username='super', password='secret', login_url='/')
|
self.admin_login(username='super', password='secret', login_url='/')
|
||||||
|
|
||||||
# Enter test data
|
# Enter test data
|
||||||
member = models.Member.objects.create(name='Bob', birthdate=datetime(1984, 05, 15), gender='M')
|
member = models.Member.objects.create(name='Bob', birthdate=datetime(1984, 5, 15), gender='M')
|
||||||
|
|
||||||
# Get month names translations for every locales
|
# Get month names translations for every locales
|
||||||
month_string = 'January February March April May June July August September October November December'
|
month_string = 'January February March April May June July August September October November December'
|
||||||
|
|
Loading…
Reference in New Issue