Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/aws-cli
/ verify_is_valid_rst
Function
verify_is_valid_rst
tests/functional/docs/test_examples.py:181–184 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
179
180
181
def
verify_is_valid_rst(filename):
182
_, errors = parse_rst(filename)
183
if
errors:
184
raise
AssertionError(_make_error_msg(filename, errors))
185
186
187
def
parse_rst(filename):
Callers
1
test_rst_doc_examples
Function · 0.85
Calls
2
parse_rst
Function · 0.85
_make_error_msg
Function · 0.85
Tested by
no test coverage detected