Skip tests properly (#31308)
* Skip tests properly * [test_all] * Add 'reason' as kwarg for skipTest * [test_all] Fix up * [test_all]
This commit is contained in:
@@ -422,7 +422,7 @@ class MptModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin,
|
||||
config_and_inputs = self.model_tester.prepare_config_and_inputs()
|
||||
self.model_tester.create_and_check_mpt_weight_initialization(*config_and_inputs)
|
||||
|
||||
@unittest.skip("For backward compatibility the lm_head is not in the model's state dict on the Hub.")
|
||||
@unittest.skip(reason="For backward compatibility the lm_head is not in the model's state dict on the Hub.")
|
||||
def test_model_weights_reload_no_missing_tied_weights(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user