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
0dad5d82
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "27d0e01d755dc14309617c06eb4d55c246183c98"
Unverified
Commit
0dad5d82
authored
Aug 10, 2021
by
Sylvain Gugger
Committed by
GitHub
Aug 10, 2021
Browse files
Fix fallback of test_fetcher (#13071)
parent
4dd85724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
utils/tests_fetcher.py
utils/tests_fetcher.py
+4
-1
No files found.
utils/tests_fetcher.py
View file @
0dad5d82
...
@@ -454,4 +454,7 @@ if __name__ == "__main__":
...
@@ -454,4 +454,7 @@ if __name__ == "__main__":
except
Exception
as
e
:
except
Exception
as
e
:
print
(
f
"
\n
Error when trying to grab the relevant tests:
{
e
}
\n\n
Running all tests."
)
print
(
f
"
\n
Error when trying to grab the relevant tests:
{
e
}
\n\n
Running all tests."
)
with
open
(
args
.
output_file
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
with
open
(
args
.
output_file
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
f
.
write
(
"./tests/"
)
if
args
.
filters
is
None
:
f
.
write
(
"./tests/"
)
else
:
f
.
write
(
" "
.
join
(
args
.
filters
))
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