def METHOD_NAME():
    '''Test that the RegionDirective.gen_post_region_code() method does
    nothing for language-level PSyIR.
    TODO #1648 - this can be removed when the gen_post_region_code() method is
    removed.'''
    temporary_module = f2pygen.ModuleGen("test")
    subroutine = Routine("testsub")
    directive = RegionDirective()
    sym = subroutine.symbol_table.new_symbol(
            "i", symbol_type=DataSymbol, datatype=INTEGER_TYPE)
    loop = Loop.create(sym,
                       Literal("1", INTEGER_TYPE),
                       Literal("10", INTEGER_TYPE),
                       Literal("1", INTEGER_TYPE),
                       [])
    directive.dir_body.addchild(loop)
    subroutine.addchild(directive)
    directive.gen_post_region_code(temporary_module)
    # No nodes should have been added to the tree.
    assert len(temporary_module.children) == 1
    assert isinstance(temporary_module.children[0], f2pygen.ImplicitNoneGen)