"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "83e366bfd49708796e2c6461d3988d23d008502a"
Unverified Commit d51296d9 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

skip `test_run_squad_no_trainer` for now (#23302)



skip
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 6a6225be
...@@ -21,6 +21,7 @@ import os ...@@ -21,6 +21,7 @@ import os
import shutil import shutil
import sys import sys
import tempfile import tempfile
import unittest
from unittest import mock from unittest import mock
import torch import torch
...@@ -176,6 +177,7 @@ class ExamplesTestsNoTrainer(TestCasePlus): ...@@ -176,6 +177,7 @@ class ExamplesTestsNoTrainer(TestCasePlus):
self.assertTrue(os.path.exists(os.path.join(tmp_dir, "epoch_0"))) self.assertTrue(os.path.exists(os.path.join(tmp_dir, "epoch_0")))
self.assertTrue(os.path.exists(os.path.join(tmp_dir, "ner_no_trainer"))) self.assertTrue(os.path.exists(os.path.join(tmp_dir, "ner_no_trainer")))
@unittest.skip(reason="Fix me @zack")
@mock.patch.dict(os.environ, {"WANDB_MODE": "offline"}) @mock.patch.dict(os.environ, {"WANDB_MODE": "offline"})
def test_run_squad_no_trainer(self): def test_run_squad_no_trainer(self):
tmp_dir = self.get_auto_remove_tmp_dir() tmp_dir = self.get_auto_remove_tmp_dir()
......
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