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:
@@ -414,7 +414,7 @@ class BioGptModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMix
|
||||
result = model(input_ids, attention_mask=attention_mask, labels=sequence_labels)
|
||||
self.assertEqual(result.logits.shape, (self.model_tester.batch_size, self.model_tester.num_labels))
|
||||
|
||||
@unittest.skip("The `input_embeds` when fed don't produce the same results.")
|
||||
@unittest.skip(reason="The `input_embeds` when fed don't produce the same results.")
|
||||
def test_beam_sample_generate(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user