Skip tests until bug is fixed. (#17646)

This commit is contained in:
Sylvain Gugger
2022-06-09 21:32:19 -04:00
committed by GitHub
parent e0b58fb5ba
commit af4a1ecad0
7 changed files with 11 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ class AutoFeatureExtractorTest(unittest.TestCase):
config = AutoFeatureExtractor.from_pretrained(SAMPLE_FEATURE_EXTRACTION_CONFIG)
self.assertIsInstance(config, Wav2Vec2FeatureExtractor)
@unittest.skip("Temp bug in the Hub not returning RepoNotFound errors.")
def test_repo_not_found(self):
with self.assertRaisesRegex(
EnvironmentError, "bert-base is not a local folder and is not a valid model identifier"