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
ea394347
Unverified
Commit
ea394347
authored
Aug 04, 2021
by
moto
Committed by
GitHub
Aug 04, 2021
Browse files
[Fbsync] Move test initialization logic to dedicated directory (#1680)
D30080845
parent
17a3bbfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
test/torchaudio_unittest/__init__.py
test/torchaudio_unittest/__init__.py
+1
-7
No files found.
test/torchaudio_unittest/__init__.py
View file @
ea394347
def
_init_fb_ctypes
():
# Initiaization required only in facebook infrastructure to use soundfile
import
libfb.py.ctypesmonkeypatch
libfb
.
py
.
ctypesmonkeypatch
.
install
()
try
:
try
:
_init_fb_ctypes
()
from
.
import
fb
# noqa
except
Exception
:
except
Exception
:
pass
pass
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