Calling a macro from within a macro, revisited

Yes,

macro retestset1(arg)
    :(@testset$(Expr(arg.head,esc.(arg.args)...))
end

simply replace :block with arg.head

1 Like