MCPcopy Create free account
hub / github.com/dask/dask / test_setattr2

Function test_setattr2

dask/tests/test_expr.py:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def test_setattr2():
30 e = MyExpr2(foo=1, bar=2)
31 e.bar = 3
32 assert e.bar == 3
33 with pytest.raises(AttributeError):
34 e.baz = 4
35
36
37class MyExprCachedProperty(Expr):

Callers

nothing calls this directly

Calls 1

MyExpr2Class · 0.85

Tested by

no test coverage detected