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