remove raise error
This commit is contained in:
Родитель
557fd0eb33
Коммит
2e6a9379a7
|
@ -43,7 +43,7 @@ def test_ddp_extractive_summarization_cnndm_transformers(scripts, tmp):
|
||||||
@pytest.mark.integration
|
@pytest.mark.integration
|
||||||
def test_ddp_abstractive_summarization_cnndm_transformers(scripts, tmp):
|
def test_ddp_abstractive_summarization_cnndm_transformers(scripts, tmp):
|
||||||
script = scripts["ddp_bertsumabs"]
|
script = scripts["ddp_bertsumabs"]
|
||||||
summary_filename = "bertsumext_prediction.txt"
|
summary_filename = "bertsumabs_prediction.txt"
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
process = subprocess.Popen(
|
process = subprocess.Popen(
|
||||||
|
@ -70,5 +70,4 @@ def test_ddp_abstractive_summarization_cnndm_transformers(scripts, tmp):
|
||||||
print(stdout)
|
print(stdout)
|
||||||
print(stderr)
|
print(stderr)
|
||||||
assert False
|
assert False
|
||||||
raise RuntimeError("something bad happened")
|
|
||||||
assert os.path.exists(os.path.join(tmp, summary_filename))
|
assert os.path.exists(os.path.join(tmp, summary_filename))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче