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
b7c17f80
"packaging/vscode:/vscode.git/clone" did not exist on "5f0edb97b46e5bff71dc19dedef05c5396eeaea2"
Unverified
Commit
b7c17f80
authored
Nov 03, 2020
by
moto
Committed by
GitHub
Nov 03, 2020
Browse files
Skip failing tests on macOS Python 3.6/3.7 (#970) (#999)
parent
538e5605
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
test/torchaudio_unittest/sox_effect/dataset_test.py
test/torchaudio_unittest/sox_effect/dataset_test.py
+10
-0
No files found.
test/torchaudio_unittest/sox_effect/dataset_test.py
View file @
b7c17f80
import
sys
import
platform
from
unittest
import
skipIf
from
typing
import
List
,
Tuple
import
numpy
as
np
...
...
@@ -68,6 +71,13 @@ def init_random_seed(worker_id):
@
skipIfNoExtension
@
skipIf
(
platform
.
system
()
==
'Darwin'
and
sys
.
version_info
.
major
==
3
and
sys
.
version_info
.
minor
in
[
6
,
7
],
'This test is known to get stuck for macOS with Python < 3.8. '
'See https://github.com/pytorch/pytorch/issues/46409'
)
class
TestSoxEffectsDataset
(
TempDirMixin
,
PytorchTestCase
):
"""Test `apply_effects_file` in multi-process dataloader setting"""
...
...
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