def test_null_default(self):
        boolean_field = BooleanModel._meta.get_field('bfield')
        self.assertFalse(boolean_field.has_default())
        b = BooleanModel()
        self.assertIsNone(b.bfield)
        with transaction.atomic():
            with self.assertRaises(IntegrityError):
                b.save()

        nb = NullBooleanModel()
        self.assertIsNone(nb.nbfield)
        nb.save()  # no error
Creates an exception. The message is required, but the exception
dataset/ETHPy150Open django/django/tests/model_fields/test_booleanfield.py/BooleanFieldTests.test_null_default--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/xml/sax/_exceptions.py/SAXException.__init__