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
4a3d2035
"git@developer.sourcefind.cn:one/TransferBench.git" did not exist on "a9133398bfcb9b7be5de53c7436ca1114f4725c9"
Unverified
Commit
4a3d2035
authored
Feb 15, 2021
by
moto
Committed by
GitHub
Feb 15, 2021
Browse files
Fix test dependency name in README (#1261)
parent
05bff83f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/torchaudio_unittest/README.md
test/torchaudio_unittest/README.md
+2
-2
No files found.
test/torchaudio_unittest/README.md
View file @
4a3d2035
...
@@ -8,7 +8,7 @@ https://docs.pytest.org/ for the detail of how to use `pytest` command.
...
@@ -8,7 +8,7 @@ https://docs.pytest.org/ for the detail of how to use `pytest` command.
For testing, the following packages are needed:
For testing, the following packages are needed:
```
bash
```
bash
pip
install
typing pytest scipy numpy parametrized
pip
install
typing pytest scipy numpy paramet
e
rized
```
```
Make sure to follow the installation instruction in the
[
contributing
Make sure to follow the installation instruction in the
[
contributing
...
@@ -40,7 +40,7 @@ We use PyTorch's test utilities instead of `pytest` frameworks when writing test
...
@@ -40,7 +40,7 @@ We use PyTorch's test utilities instead of `pytest` frameworks when writing test
Also, while we recommend using
`pytest`
for
*running*
the tests, we cannot
Also, while we recommend using
`pytest`
for
*running*
the tests, we cannot
make
`pytest`
a testing dependency of
`torchaudio`
. As a result, you should
make
`pytest`
a testing dependency of
`torchaudio`
. As a result, you should
not import
`pytest`
or its submodules in the test files; Use the Python
not import
`pytest`
or its submodules in the test files; Use the Python
`unittest`
builtin module instead, or the
`parametrized`
package to
`unittest`
builtin module instead, or the
`paramet
e
rized`
package to
parametrize tests.
parametrize tests.
## Structure of tests
## Structure of tests
...
...
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