diff options
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/tests.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index 64b848af7a..793538c791 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -259,9 +259,6 @@ class BooleanFieldTests(unittest.TestCase): formfield with the blank option (#9640, #10549). """ choices = [(1, 'Si'), (2, 'No')] - f = models.BooleanField(choices=choices, default=1, null=True) - self.assertEqual(f.formfield().choices, [('', '---------')] + choices) - f = models.BooleanField(choices=choices, default=1, null=False) self.assertEqual(f.formfield().choices, choices) |
