"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "e0b6247cf749c5a6c7b9543f6c16935b58370ce0"
Unverified Commit 0af8579b authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Skip TestMarian_MT_EN (#12649)

* Skip TestMarian_MT_EN

* Skip EN_ZH and EN_ROMANCE

* Skip EN_ROMANCE pipeline
parent a882b9fa
...@@ -385,6 +385,7 @@ class TestMarian_MT_EN(AbstractMarianIntegrationTest): ...@@ -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."] 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."] 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 @slow
def test_batch_generation_mt_en(self): def test_batch_generation_mt_en(self):
self._assert_generated_batch_equal_expected() self._assert_generated_batch_equal_expected()
...@@ -399,6 +400,7 @@ class TestMarian_en_zh(AbstractMarianIntegrationTest): ...@@ -399,6 +400,7 @@ class TestMarian_en_zh(AbstractMarianIntegrationTest):
src_text = ["My name is Wolfgang and I live in Berlin"] src_text = ["My name is Wolfgang and I live in Berlin"]
expected_text = ["我叫沃尔夫冈 我住在柏林"] expected_text = ["我叫沃尔夫冈 我住在柏林"]
@unittest.skip("Skipping until #12647 is resolved.")
@slow @slow
def test_batch_generation_en_zh(self): def test_batch_generation_en_zh(self):
self._assert_generated_batch_equal_expected() self._assert_generated_batch_equal_expected()
...@@ -423,10 +425,12 @@ class TestMarian_en_ROMANCE(AbstractMarianIntegrationTest): ...@@ -423,10 +425,12 @@ class TestMarian_en_ROMANCE(AbstractMarianIntegrationTest):
"Es dos años más viejo que yo.", "Es dos años más viejo que yo.",
] ]
@unittest.skip("Skipping until #12647 is resolved.")
@slow @slow
def test_batch_generation_en_ROMANCE_multi(self): def test_batch_generation_en_ROMANCE_multi(self):
self._assert_generated_batch_equal_expected() self._assert_generated_batch_equal_expected()
@unittest.skip("Skipping until #12647 is resolved.")
@slow @slow
def test_pipeline(self): def test_pipeline(self):
pipeline = TranslationPipeline(self.model, self.tokenizer, framework="tf") pipeline = TranslationPipeline(self.model, self.tokenizer, framework="tf")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment