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
OpenDAS
Torchaudio
Commits
a9d091d0
Unverified
Commit
a9d091d0
authored
Apr 16, 2021
by
moto
Committed by
GitHub
Apr 16, 2021
Browse files
Fbsync: test sanitization and lint fix (#1457)
parent
245da370
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
test/torchaudio_unittest/common_utils/parameterized_utils.py
test/torchaudio_unittest/common_utils/parameterized_utils.py
+3
-1
test/torchaudio_unittest/transforms/autograd_test_impl.py
test/torchaudio_unittest/transforms/autograd_test_impl.py
+1
-1
test/torchscript_bc_test/assets/.gitignore
test/torchscript_bc_test/assets/.gitignore
+0
-1
No files found.
test/torchaudio_unittest/common_utils/parameterized_utils.py
View file @
a9d091d0
...
...
@@ -18,7 +18,9 @@ def _name_func(func, _, params):
strs
.
append
(
"_"
.
join
(
str
(
a
)
for
a
in
arg
))
else
:
strs
.
append
(
str
(
arg
))
return
f
'
{
func
.
__name__
}
_
{
"_"
.
join
(
strs
)
}
'
# sanitize the test name
name
=
"_"
.
join
(
strs
).
replace
(
"."
,
"_"
)
return
f
'
{
func
.
__name__
}
_
{
name
}
'
def
nested_params
(
*
params_set
):
...
...
test/torchaudio_unittest/transforms/autograd_test_impl.py
View file @
a9d091d0
test/torchscript_bc_test/assets/.gitignore
deleted
100644 → 0
View file @
245da370
*
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