Ticket #13390: 13390.tests.patch
File 13390.tests.patch, 670 bytes (added by , 15 years ago) |
---|
-
tests/regressiontests/forms/widgets.py
=== modified file 'tests/regressiontests/forms/widgets.py'
1309 1309 # w2 ought to be independent of w1, since MultiWidget ought 1310 1310 # to make a copy of its sub-widgets when it is copied. 1311 1311 self.assertEqual(w1.choices, [1,2,3]) 1312 1313 def test_13390(self): 1314 # See ticket #13390 1315 class SplitDateForm(forms.Form): 1316 field = forms.DateTimeField(widget=forms.SplitDateTimeWidget, required=False) 1317 1318 form = SplitDateForm({}) 1319 self.assertTrue(form.is_valid())