Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321)
* Rename to test_model_common_attributes The method name is misleading - it is testing being able to get and set embeddings, not common attributes to all models * Explicitly skip
This commit is contained in:
@@ -163,7 +163,7 @@ class UnivNetModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="UnivNetModel does not use input embeddings and thus has no get_input_embeddings method.")
|
||||
def test_model_common_attributes(self):
|
||||
def test_model_get_set_embeddings(self):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="UnivNetModel does not support all arguments tested, such as output_hidden_states.")
|
||||
|
||||
Reference in New Issue
Block a user