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:
@@ -762,11 +762,11 @@ class Wav2Vec2CTCTokenizerTest(TokenizerTesterMixin, unittest.TestCase):
|
||||
self.assertEqual(tokens[0], tokenizer.eos_token_id)
|
||||
self.assertEqual(tokens[-3], tokenizer.pad_token_id)
|
||||
|
||||
@unittest.skip("The tokenizer shouldn't be used to encode input IDs (except for labels), only to decode.")
|
||||
@unittest.skip(reason="The tokenizer shouldn't be used to encode input IDs (except for labels), only to decode.")
|
||||
def test_tf_encode_plus_sent_to_model(self):
|
||||
pass
|
||||
|
||||
@unittest.skip("The tokenizer shouldn't be used to encode input IDs (except for labels), only to decode.")
|
||||
@unittest.skip(reason="The tokenizer shouldn't be used to encode input IDs (except for labels), only to decode.")
|
||||
def test_torch_encode_plus_sent_to_model(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user