Some tests misusing assertTrue for comparisons
Author: code-review-doctor
Pull request: no

`assertTrue` is not for comparing arguments, should use `assertEqual` for that.

The developer's intent of the test was to compare argument 1 with argument 2, which is not happening. Really what is happening is the test is passing because first argument is truthy. The correct method to use is `assertEqual`

https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_modeling_flax_wav2vec2.py#L389
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_modeling_flax_wav2vec2.py#L431
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_modeling_wav2vec2.py#L1064
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_modeling_wav2vec2.py#L1101
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L205
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L216
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L217
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L492
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L499
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2/test_tokenization_wav2vec2.py#L506
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2_with_lm/test_processor_wav2vec2_with_lm.py#L371
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2_with_lm/test_processor_wav2vec2_with_lm.py#L388
https://github.com/huggingface/transformers/blob/main/tests/test_sequence_feature_extraction_common.py#L188
https://github.com/huggingface/transformers/blob/main/tests/trainer/test_trainer_utils.py#L100
https://github.com/huggingface/transformers/blob/main/tests/trainer/test_trainer_utils.py#L102
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_tf_longformer.py#L416
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_tf_longformer.py#L489
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_tf_longformer.py#L526
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_longformer.py#L419
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_longformer.py#L423
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_longformer.py#L448
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_longformer.py#L496
https://github.com/huggingface/transformers/blob/main/tests/longformer/test_modeling_longformer.py#L534
https://github.com/huggingface/transformers/blob/main/tests/trainer/test_trainer.py#L812
https://github.com/huggingface/transformers/blob/main/tests/trainer/test_trainer.py#L822
https://github.com/huggingface/transformers/blob/main/tests/wav2vec2_phoneme/test_tokenization_wav2vec2_phoneme.py#L268

I found this issue automatically, see other issues [here](https://codereview.doctor/huggingface/transformers)

Comments: