Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_setattr
Function
test_setattr
dask/tests/test_expr.py:21–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
21
def
test_setattr():
22
e = MyExpr(foo=1, bar=2)
23
e.bar = 3
24
assert e.bar == 3
25
with
pytest.raises(AttributeError):
26
e.baz = 4
27
28
29
def
test_setattr2():
Callers
nothing calls this directly
Calls
1
MyExpr
Class · 0.85
Tested by
no test coverage detected