()
| 35 | |
| 36 | |
| 37 | def test_node_from_parent_disallowed_arguments() -> None: |
| 38 | with pytest.raises(TypeError, match="session is"): |
| 39 | nodes.Node.from_parent(None, session=None) # type: ignore[arg-type] |
| 40 | with pytest.raises(TypeError, match="config is"): |
| 41 | nodes.Node.from_parent(None, config=None) # type: ignore[arg-type] |
| 42 | |
| 43 | |
| 44 | def test_node_direct_construction_deprecated() -> None: |
nothing calls this directly
no test coverage detected