MCPcopy
hub / github.com/reflex-dev/reflex / test_var_replace_with_invalid_kwargs

Function test_var_replace_with_invalid_kwargs

tests/units/test_var.py:543–546  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

541 ],
542)
543def test_var_replace_with_invalid_kwargs(var):
544 with pytest.raises(TypeError) as excinfo:
545 var._replace(_this_should_fail=True)
546 assert "unexpected keyword argument" in str(excinfo.value)
547
548
549def test_computed_var_replace_with_invalid_kwargs():

Callers

nothing calls this directly

Calls 1

_replaceMethod · 0.45

Tested by

no test coverage detected