Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ test_single_line_finally
Function
test_single_line_finally
testing/code/test_source.py:498–500 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
496
497
498
def
test_single_line_finally() -> None:
499
source = getstatement(1,
"try: 1\nfinally: 3"
)
500
assert str(source) ==
"finally: 3"
501
502
503
def
test_issue55() -> None:
Callers
nothing calls this directly
Calls
1
getstatement
Function · 0.85
Tested by
no test coverage detected