From f9b44097261270377199bb0fcbceb01fd9f7d0c0 Mon Sep 17 00:00:00 2001 From: amyeroberts <22614925+amyeroberts@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:20:57 +0100 Subject: [PATCH] Remove unnecessary CPM model tests (#33621) Remove model tests --- tests/models/cpm/test_tokenization_cpm.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/models/cpm/test_tokenization_cpm.py b/tests/models/cpm/test_tokenization_cpm.py index fa69a6aaa7..152671eb68 100644 --- a/tests/models/cpm/test_tokenization_cpm.py +++ b/tests/models/cpm/test_tokenization_cpm.py @@ -12,15 +12,14 @@ # See the License for the specific language governing permissions and # limitations under the License. +import unittest from transformers.models.cpm.tokenization_cpm import CpmTokenizer from transformers.testing_utils import custom_tokenizers -from ..xlnet.test_modeling_xlnet import XLNetModelTest - @custom_tokenizers -class CpmTokenizationTest(XLNetModelTest): +class CpmTokenizationTest(unittest.TestCase): # There is no `CpmModel` def is_pipeline_test_to_skip( self, pipeline_test_casse_name, config_class, model_architecture, tokenizer_name, processor_name