# tf.test.TestCase.failureException

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 1 version](https://www.tensorflow.org/versions/r1.15/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)

<br />

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