Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
eb6313e8
Commit
eb6313e8
authored
Nov 03, 2020
by
Lysandre
Browse files
Fix Tatoeba skip
parent
74f6f91a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/seq2seq/test_tatoeba_conversion.py
examples/seq2seq/test_tatoeba_conversion.py
+1
-1
No files found.
examples/seq2seq/test_tatoeba_conversion.py
View file @
eb6313e8
...
@@ -7,7 +7,7 @@ from transformers.file_utils import cached_property
...
@@ -7,7 +7,7 @@ from transformers.file_utils import cached_property
from
transformers.testing_utils
import
slow
from
transformers.testing_utils
import
slow
@
unittest
.
skipUnless
(
os
.
path
.
exists
(
DEFAULT_REPO
))
@
unittest
.
skipUnless
(
os
.
path
.
exists
(
DEFAULT_REPO
)
,
"Tatoeba directory does not exist."
)
class
TatoebaConversionTester
(
unittest
.
TestCase
):
class
TatoebaConversionTester
(
unittest
.
TestCase
):
@
cached_property
@
cached_property
def
resolver
(
self
):
def
resolver
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment