def METHOD_NAME(self):
    want = "text ... text"
    got = "text 1.0 1.2 1.9 text"
    output_checker = keras_doctest_lib.KerasDoctestOutputChecker()
    self.assertTrue(
        output_checker.check_output(
            want=want, got=got, optionflags=doctest.ELLIPSIS
        )
    )