Unverified Commit 4a3d2035 authored by moto's avatar moto Committed by GitHub
Browse files

Fix test dependency name in README (#1261)

parent 05bff83f
...@@ -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 parameterized
``` ```
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 `parameterized` package to
parametrize tests. parametrize tests.
## Structure of tests ## Structure of tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment