Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ istext
Function
istext
src/_pytest/assertion/util.py:106–107 ·
view source on GitHub ↗
(x: Any)
Source
from the content-addressed store, hash-verified
104
105
106
def
istext(x: Any) -> bool:
107
return
isinstance(x, str)
108
109
110
def
isdict(x: Any) -> bool:
Callers
3
isiterable
Function · 0.85
assertrepr_compare
Function · 0.85
_compare_eq_any
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected