diff options
author | Xiang Gao <qasdfgtyuiop@gmail.com> | 2019-02-15 06:44:56 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-02-15 07:02:31 -0800 |
commit | 07b5782ff71692c2a0ef34b2d3d53185133a4d71 (patch) | |
tree | a87df4cb1d2de1d7fdec2fa40cf4c40c1b6fd285 /test/run_test.py | |
parent | a771a6ba6722f51f5781971843f8babc042b7bef (diff) | |
download | pytorch-07b5782ff71692c2a0ef34b2d3d53185133a4d71.tar.gz pytorch-07b5782ff71692c2a0ef34b2d3d53185133a4d71.tar.bz2 pytorch-07b5782ff71692c2a0ef34b2d3d53185133a4d71.zip |
Add some missing docs to torch.rst, new unittest to enforce torch.rst no longer miss anything (#16039)
Summary:
This prevent people (reviewer, PR author) from forgetting adding things to `torch.rst`.
When something new is added to `_torch_doc.py` or `functional.py` but intentionally not in `torch.rst`, people should manually whitelist it in `test_docs_coverage.py`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16039
Differential Revision: D14070903
Pulled By: ezyang
fbshipit-source-id: 60f2a42eb5efe81be073ed64e54525d143eb643e
Diffstat (limited to 'test/run_test.py')
-rw-r--r-- | test/run_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run_test.py b/test/run_test.py index 24c1641798..613cc948ec 100644 --- a/test/run_test.py +++ b/test/run_test.py @@ -28,6 +28,7 @@ TESTS = [ 'dataloader', 'distributed', 'distributions', + 'docs_coverage', 'expecttest', 'indexing', 'indexing_cuda', |