Skip to content

Commit

Permalink
Skip TestMarian_MT_EN (huggingface#12649)
Browse files Browse the repository at this point in the history
* Skip TestMarian_MT_EN

* Skip EN_ZH and EN_ROMANCE

* Skip EN_ROMANCE pipeline
  • Loading branch information
LysandreJik committed Jul 12, 2021
1 parent a882b9f commit 0af8579
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_modeling_tf_marian.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ class TestMarian_MT_EN(AbstractMarianIntegrationTest):
src_text = ["Billi messu b'mod ġentili, Ġesù fejjaq raġel li kien milqut bil - marda kerha tal - ġdiem."]
expected_text = ["Touching gently, Jesus healed a man who was affected by the sad disease of leprosy."]

@unittest.skip("Skipping until #12647 is resolved.")
@slow
def test_batch_generation_mt_en(self):
self._assert_generated_batch_equal_expected()
Expand All @@ -399,6 +400,7 @@ class TestMarian_en_zh(AbstractMarianIntegrationTest):
src_text = ["My name is Wolfgang and I live in Berlin"]
expected_text = ["我叫沃尔夫冈 我住在柏林"]

@unittest.skip("Skipping until #12647 is resolved.")
@slow
def test_batch_generation_en_zh(self):
self._assert_generated_batch_equal_expected()
Expand All @@ -423,10 +425,12 @@ class TestMarian_en_ROMANCE(AbstractMarianIntegrationTest):
"Es dos años más viejo que yo.",
]

@unittest.skip("Skipping until #12647 is resolved.")
@slow
def test_batch_generation_en_ROMANCE_multi(self):
self._assert_generated_batch_equal_expected()

@unittest.skip("Skipping until #12647 is resolved.")
@slow
def test_pipeline(self):
pipeline = TranslationPipeline(self.model, self.tokenizer, framework="tf")
Expand Down

0 comments on commit 0af8579

Please sign in to comment.