def METHOD_NAME(self) -> None:
    """Test that the checker correctly doesn't report a for loop when its usage is allowed."""
    src = """
    for i in range(0, 10):
        print(i)
    """
    mod = astroid.parse(src)
    for_node, *_ = mod.nodes_of_class(nodes.For)
    with self.assertNoMessages():
        self.checker.visit_default(for_node)