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
2f2319d6
Unverified
Commit
2f2319d6
authored
May 21, 2020
by
moto
Committed by
GitHub
May 21, 2020
Browse files
Fix io test (#653)
parent
faefe689
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_io.py
test/test_io.py
+1
-1
No files found.
test/test_io.py
View file @
2f2319d6
...
@@ -171,7 +171,7 @@ class Test_LoadSave(unittest.TestCase):
...
@@ -171,7 +171,7 @@ class Test_LoadSave(unittest.TestCase):
self
.
assertEqual
(
sample_rate
,
sample_rate2
)
self
.
assertEqual
(
sample_rate
,
sample_rate2
)
os
.
unlink
(
output_path
)
os
.
unlink
(
output_path
)
@
unittest
.
skipIf
(
set
([
"sox"
,
"soundfile"
])
not
in
set
(
BACKENDS
),
"sox and soundfile are not available"
)
@
unittest
.
skipIf
(
any
(
be
not
in
BACKENDS
for
be
in
[
"sox"
,
"soundfile"
]
),
"sox and soundfile are not available"
)
def
test_3_load_and_save_is_identity_across_backend
(
self
):
def
test_3_load_and_save_is_identity_across_backend
(
self
):
with
self
.
subTest
():
with
self
.
subTest
():
self
.
_test_3_load_and_save_is_identity_across_backend
(
"sox"
,
"soundfile"
)
self
.
_test_3_load_and_save_is_identity_across_backend
(
"sox"
,
"soundfile"
)
...
...
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