# tf.test.TestCase.failureException

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 2 version](https://www.tensorflow.org/api_docs/python/tf/test/TestCase/failureException) |

Assertion failed.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.test.TestCase.failureException`](https://www.tensorflow.org/api_docs/python/tf/test/TestCase/failureException), \`tf.compat.v2.test.TestCase.failureException\`

<br />

    tf.test.TestCase.failureException(
        *args, **kwargs
    )