skip transfo-xl tokenizer tests with tf for now

This commit is contained in:
thomwolf 2019-09-05 11:22:13 +02:00
parent 7f6a0c0d69
commit 04d2006f28

View File

@ -22,6 +22,7 @@ from io import open
from pytorch_transformers import is_torch_available
try:
import torch
from pytorch_transformers.tokenization_transfo_xl import TransfoXLTokenizer, VOCAB_FILES_NAMES
except ImportError:
pytestmark = pytest.mark.skip("Require Torch") # TODO: untangle Transfo-XL tokenizer from torch.load and torch.save