def METHOD_NAME(self):
    for tokenizer, tf_tokenizer in zip(self.tokenizers, self.tf_tokenizers):
        for test_inputs in self.test_sentences:
            python_outputs = tokenizer([test_inputs], return_tensors="tf")
            tf_outputs = tf_tokenizer([test_inputs])
            for key in python_outputs.keys():
                # convert them to numpy to avoid messing with ragged tensors
                python_outputs_values = python_outputs[key].numpy()
                tf_outputs_values = tf_outputs[key].numpy()
                self.assertTrue(tf.reduce_all(python_outputs_values.shape == tf_outputs_values.shape))
                self.assertTrue(tf.reduce_all(tf.cast(python_outputs_values, tf.int64) == tf_outputs_values))