Unverified Commit b63beb74 authored by Sam Shleifer's avatar Sam Shleifer Committed by GitHub
Browse files

Skip tatoeba tests if Tatoeba-Challenge not cloned (#8260)

parent 9f1747f9
import os
import tempfile
import unittest
from transformers.convert_marian_tatoeba_to_pytorch import TatoebaConverter
from transformers.convert_marian_tatoeba_to_pytorch import DEFAULT_REPO, TatoebaConverter
from transformers.file_utils import cached_property
from transformers.testing_utils import slow
@unittest.skipUnless(os.path.exists(DEFAULT_REPO))
class TatoebaConversionTester(unittest.TestCase):
@cached_property
def resolver(self):
......
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