Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ test_list_raises
Function
test_list_raises
pandas/tests/series/methods/test_map.py:161–163 ·
view source on GitHub ↗
(string_series)
Source
from the content-addressed store, hash-verified
159
160
161
def
test_list_raises(string_series):
162
with
pytest.raises(TypeError, match=
"'list' object is not callable"
):
163
string_series.map([
lambda
x: x])
164
165
166
def
test_map():
Callers
nothing calls this directly
Calls
2
raises
Method · 0.45
map
Method · 0.45
Tested by
no test coverage detected