def METHOD_NAME(self):
    with self.assertRaisesMessage(
            ValueError,
            "'non_boolean_attr' argument must be True or False",
    ):
        self.uniq_field.check_is_bool('non_boolean_attr')