def index_node(draw, value=const_node(hs.integers())): node = astroid.Index() node.postinit(draw(value)) return node