def test_very_long_name(self):
        """Test initialization with a very long name."""
        with self.assertRaisesRegex(ValueError, "Cannot convert"):
            QuantizedDTypePolicy(
                mode="int8", source_name="int8_from_mixed_bfloat16" * 100
            )
Test initialization with a very long name.
keras/src/dtype_policies/dtype_policy_test.py