mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
More doctest refinements. (#83317)
Follow up to #82797 Now that the doctests themselves are in a better state, we should be able to enable xdoctest on the CI so they stay that way. @ezyang @vadimkantorov Pull Request resolved: https://github.com/pytorch/pytorch/pull/83317 Approved by: https://github.com/ezyang
This commit is contained in:
committed by
PyTorch MergeBot
parent
9c9f424817
commit
b136f3f310
@ -7,11 +7,6 @@ addopts =
|
||||
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
|
||||
--capture=sys
|
||||
--disable-warnings
|
||||
# TODO: enable xdoctest later
|
||||
#--xdoctest
|
||||
#--xdoctest-style=google
|
||||
#--xdoctest-global-exec="from torch import nn\nimport torch.nn.functional as F\nimport torch"
|
||||
#--xdoctest-options=+IGNORE_WHITESPACE
|
||||
testpaths =
|
||||
test
|
||||
junit_logging_reruns = all
|
||||
|
Reference in New Issue
Block a user